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?
(a)You would not notice much difference because computers run very fast
anyway.
anyway.
(b)When n is 1000, binary search is twice as fast as sequential search.
(c)When n is 1000, binary search is 10 times as fast as sequential search.
(d)When n is 1000, binary search is 100 times as fast as sequential search.

50% studentsanswered this correctly
Important Questions on C Language and OOP
MEDIUM
What is the output of given C fragment program?
if print (" is zero"); else print ("a is not zero");

EASY
Programming languages can be categories as

EASY
The following program
main
{
}

EASY
The rule for implicit type conversion in ' is

MEDIUM
What is/are the main difference(s) between the and 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.

EASY
Which of the following operators in does not associate from the right?

MEDIUM
Perror () can be simulated by using:

MEDIUM
A computer program can often be very satisfactory _____ of a physical system such as road traffic conditions.

MEDIUM
Direct X Is a ________.

MEDIUM
A computer program consists of _____.

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 is the number of programmers in a project team then the number of communication paths is:

EASY
An important aspect in coding is:

EASY
The 'cc' command sequentially invokes:

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
________ diagrams in UML Show relationships between classes.

EASY
The _______is not formal enough to be implemented directly in a programming language.

MEDIUM
Choose the correct statements:

MEDIUM
Structured programming codes include:

MEDIUM
Choose the correct statements:

