
DAA - Class Test 1
Authored by Ankush Jain
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
It's App to You!
Quiz
•
University
12 questions
ICT450-TOPIC 1
Quiz
•
University
10 questions
Anime
Quiz
•
KG - University
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
cybercrime
Quiz
•
12th Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
10 questions
CSE205-DCN-QUIZ-UNIT-5
Quiz
•
University
10 questions
Living in the IT Era
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade