DAA - Class Test 1

Quiz
•
Computers
•
University
•
Hard
Ankush Jain
Used 11+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Consider the following C-program fragment in which i, j and n are integer variables.
for (i = n, j = 0; i > 0; i /= 2, j += i);
let val (j) denote the value stored in the variable j after termination of the for loop. Which one of the following is true?
2.
MULTIPLE CHOICE QUESTION
3 mins • 5 pts
Consider the following segment of C-code:
int j, n; j=1;
while(j <= n)
j = j * 2;
The number of comparisons made in the execution of the loop for any n > 0 is:
3.
FILL IN THE BLANK QUESTION
3 mins • 5 pts
4.
MULTIPLE CHOICE QUESTION
2 mins • 2 pts
Let f(n) = n2 log n and g(n) = n(log n)10 be two positive functions of n. Which of the following statements is correct?
5.
MULTIPLE SELECT QUESTION
2 mins • 3 pts
Which of the following is false in following ?
6.
MULTIPLE SELECT QUESTION
3 mins • 5 pts
Only I is correct
Only II is correct
Both I and II are correct
Neither I nor II correct
7.
MULTIPLE CHOICE QUESTION
5 mins • 5 pts
Similar Resources on Wayground
10 questions
Y9 - Inputs, Outputs, Flowcharts

Quiz
•
8th Grade - University
12 questions
Flip - Flops

Quiz
•
University
12 questions
Typing

Quiz
•
KG - University
10 questions
AI QUIZ

Quiz
•
University
8 questions
DES- Encryption

Quiz
•
University
12 questions
Data Science Quiz

Quiz
•
University
12 questions
A big fan of DE142

Quiz
•
University
10 questions
Weekly Contest #3 - TechXNinjas

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University