EASY
Earn 100

The following program

main 

{int i =2;

int i=4, j=5; print f"%d%",i,j;

printf"%d%d",i,j;}

50% studentsanswered this correctly

Important Questions on C Language and OOP

MEDIUM
What is the output of given C fragment program?
if a==0 print f("a is zero"); else print f ("a is not zero");
EASY
Which of the following operators in C does not associate from the right?
MEDIUM

What is/are the main difference(s) between the  3rd and 4th generation languages?

(i) Both follow procedural code.

(ii) Third generation languages are mostly compiled languages.

(iii) Fourth generation languages are in-line with the minimum work and skill concept.

(iv) Third generation languages are user friendly and have intelligent default options.

HARD
To increase reliability, fault tolerance is included in the system in the form of multiple modules. If the problem can be solved by 5 different modules, each with the probability of success 0.7, the probability that it can be solved even if 4 modules fail is approximately:
EASY
Sequential search has a time complexity of 0(n), and binary search has a time complexity of 0(log(n)), What will be the difference when the size n is 1000? 
 
EASY
The _______is not formal enough to be implemented directly in a programming language.
MEDIUM
Assertions are conditions which are true at the point of execution:
EASY
In Java, we have to use "if(s1.equals(s2))" to test whether two strings, s1 and s2, are equal to each other. The reason why we cannot use "if (s1==s2) is _____
MEDIUM
According to Brooks, if n is the number of programmers in a project team then the number of communication paths is: