Programming Theory

3K

Solutions

24

Articles & Videos

4K

Contributors

Programming theory deals with the design, implementation, analysis, characterization, and classification of programming languages and their individual features, along with introductory programming concepts like program structure, variable declaration and conditional and looping constructs. Sub-disciplines include the formal semantics of programming languages, type theory, program analysis and transformation, comparative programming language analysis, metaprogramming, domain-specific languages, compiler construction and run-time systems.

Refine results

(CODE)

i am running above example and got stackoutofbound exception. please advise why i got below error and what it means by stack and why it became out of bound?

(CODE)

1666 views
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Hi,

I was going through below link

http://www.cis.upenn.edu/~matuszek/cit594-2012/Pages/backtracking.html

what is difference between
Non-recursive backtracking, using a stack and
Non-recurs…

145 views

Hi,

I am going through below site.
https://www.base64decode.org/

when we encode and decode. What are advantages and disadvantages of base64 and what are other alternatives for this? please advi…

1296 views

Can you explain it in a different way. I copied it in the class but don't understand it how exactly the calculations are performed.

548 views

Can you please tell me in question 6 how it calculate the values of 33 and -5

151 views

Homework Question:
I am not sure if I did it right. If its wrong can you tell me which direction I should be going to?



a) p=310/1000 =0.31
odds for 31/100
b) p=600/1000 =0.6
odds for 3/5

351 views

How to solve this equation?

c(8, 3) * c(8, 2) / c(16, 5) = 14/39 ≈ 0.36

945 views

I am trying to determine what is the maximum number of 10 character word string combinations that can be created using 36 unique characters. For example, let's say that you use the English alphabet, a…

1845 views

I had an interview Friday and was asked that question and was told this firm uses this same method for near-instant response against millions of patient records. I was told to "think about it" before …

5120 views

Web form, OOP approach.

A basic checkout form, inputs: fullname, email, shipto, shiptozip, cardnumber, monthyear, cvc, a checkbox when clicked displays an alternate billto and billtozip option, and…

871 views
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

This is the best that I can do:
I =1      J=1      K=1
I =1      J=2      K=2 (so when I=1 it has a count of 2)
I =2      J=1      K=1
I =2      J=2      K=2 (so I has a count of 2 here)
I =3      J=1      K=1
I =3      J=2      K=2 (so I has a count of …

1574 views

Hi

I have installed visual studio community onWin 7 PCs on our network. When users log into the visual studio application,
by default the application has taken path of the students home directory…

1582 views

Hi

I had installed visual studio community on 30 PCs. Now when students open the application , it says: Licence 30 days trial( evaluation purpose only) your evaluation period has ended.
Please si…

797 views

Hi,

http://codingbat.com/prob/p163932

I am working on above challenge
Given a non-negative int n, return the sum of its digits recursively (no loops). Note that mod (%) by 10 yields the rightmo…

760 views

factorial



Hi,

I am working on below challenge
http://codingbat.com/prob/p154669

Psedo code:
1. return the n multiplied by same method call with n-1
I wrote my code as below

(CODE)…

1060 views

"Disruption" is the most feared word for C-level executives these days. They agonize over their industry being disturbed by another player - most likely by startups.

0145 views

Hi,

I am working on below challeng



I have not undersood the description.



We'll say that a positive int divides itself if every digit in the number divides into the number evenly. So f…

1577 views

Hi,

I am working on below challenge
http://codingbat.com/prob/p191212

Psedo code:
1. for given number % with 10
2. if 1 return true
3. else return false

I wrote my code as below

(CODE)…

5987 views

Hi,

I am working on below challenge

http://codingbat.com/prob/p179487

Pseudo Code:
1. loop through given array
2. find elemt a i position and i+1 position.
3. check their equality.
4. if …

382 views
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Hi,

I am working on below challenge

http://codingbat.com/prob/p123837
I wrote my code as below
(CODE)




I am not passing all tests with below error

Compile problems:


Error:      }
      …

874 views

Hi,

How static method overriding vs normal non static method overriding in child class are different?. child Static method overriding hides parent class static method right which is same with non s…

1377 views

Hi,

I am working on below challenge.
http://codingbat.com/prob/p125819

My psedo code of approach is
1. iterate given arry
2. find position of 4
3. set next position to 5 by keeping orignal v…

1583 views

Hi,

I am working on below challenge
http://codingbat.com/prob/p155405

Array-3 > squareUp
prev  |  next  |  chance
Given n>=0, create an array length n*n with the following pattern, shown her…

22104 views

Hi,

I am working on below challenge

http://codingbat.com/prob/p196409

Array-3 > maxMirror
prev  |  next  |  chance
We'll say that a "mirror" section in an array is a group of contiguous el…

1087 views

Hi,

I would like to know what are differences between factory design pattern vs abstract factoy design pattern.

When to use which one. Advantages, disadvantages, practical uses of each. Please a…

282 views
Show more content
201506-LO-Top-001
Top Experts In
Programming Theory

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. Programming
    (51,874)
  2. Math / Science
    (9,605)
  3. Algorithms
    (3,946)
  4. .NET Programming
    (131,532)
  5. C#
    (91,122)
  6. Project Management
    (3,906)
  7. Programming Languages-Other
    (19,670)
  8. Java
    (98,623)
  9. C++
    (56,907)
  10. Databases
    (53,488)