EASY
Earn 100

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? 
 

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

The following program

main 

{int i =2;

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

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

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.

MEDIUM
A computer program can often be very satisfactory _____ of a physical system such as road traffic conditions.
EASY
With the "wrap around" implementation of a queue, which of the following code should we use to work out the next location of insertion?
MEDIUM
According to Brooks, if n is the number of programmers in a project team then the number of communication paths is:
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
The _______is not formal enough to be implemented directly in a programming language.