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.
Hi,
I am looking for
given out Input: 43790
i need below pyramid of output
Output:
0
33
444
7777
99999
i wrote as below(CODE)
i got below output
rows
10
output
…
My teacher told me to write a digest paper. What is a digest paper?
(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)
Hi,
I was going through below link
http://www.cis.upenn.edu/~
what is difference between
Non-recursive backtracking, using a stack and
…
Hi,
I am going through below site.
https://www.base64decode.o
when we encode and decode. What are advantages and disadvantages of base64 and what are other alternatives for this? please …
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.
Can you please tell me in question 6 how it calculate the values of 33 and -5
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
How to solve this equation?
c(8, 3) * c(8, 2) / c(16, 5) = 14/39 ≈ 0.36
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, …
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 …
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, …
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 …
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…
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 …
Hi,
http://codingbat.com/prob/
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 …
factorial
Hi,
I am working on below challenge
http://codingbat.com/prob/
Psedo code:
1. return the n multiplied by same method call with n-1
I wrote my code as below
(CODE)…
"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.
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 …
Hi,
I am working on below challenge
http://codingbat.com/prob/
Psedo code:
1. for given number % with 10
2. if 1 return true
3. else return false
I wrote my code as below
(CODE)…
Hi,
I am working on below challenge
http://codingbat.com/prob/
Pseudo Code:
1. loop through given array
2. find elemt a i position and i+1 position.
3. check their equality.
4. if …
Hi,
I am working on below challenge
http://codingbat.com/prob/
I wrote my code as below
(CODE)
I am not passing all tests with below error
Compile problems:
Error: }
…
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 …
Hi,
I am working on below challenge.
http://codingbat.com/prob/
My psedo code of approach is
1. iterate given arry
2. find position of 4
3. set next position to 5 by keeping orignal …
Hi,
I am working on below challenge
http://codingbat.com/prob/
Array-3 > squareUp
prev | next | chance
Given n>=0, create an array length n*n with the following pattern, shown …