
LLJ 2
Authored by Siva G
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following statements
for (i = 3; i < 15; i +=3)
{
printf (“%d”, i);
++i;
}
will result in the printing of
(a) 36912
(b) 3691215
(c) 3711
(d) 371115
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the declarations:
char first (int(*) (char, float));
int second (char, float)
Which of the following function invocation is valid?
(a) first (*second)
(b) first (&second);
(c) first (second)
(d) none of these
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The output of the following program
main ( )
{
int a = 1, b = 2, c = 3;
printf (“%d”, a+ = (a+ = 3, 5, a));
}
will be
a.)12
b)6
c)9
d)8
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In delete operation of binary search tree, we need inorder successor (or predecessor) of a node
when a node to be deleted where it has both left and right child. Which of the following is true
about inorder successor needed in delete operation?
a) Inorder successor is always either leaf node or a node with empty right child
b) Inorder successor maybe an ancestor of the node
c) Inorder successor is always a leaf node.
d) Inorder successor is always either a leaf node or a node with empty left child
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT true about linked list implementation of queue?
a) In enqueue operation, if new nodes are inserted at the beginning of linked list, then in
dequeue operation nodes must be removed from end.
b) In enqueue operation, if new nodes are inserted at the end, then in dequeue nodes must be
removed from the beginning.
c) Both (a) and (b)
d) None of the above
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider the following AVL tree.
Which of the following order of elements are inserted into an empty AVL tree, so that it is
possible to get the above AVL tree?
(a) 94, 71, 86, 25, 98, 83, 27, 90
b) 98, 94, 90, 83, 86, 25, 71, 94
c) 86, 25, 98, 83, 27, 90, 71, 94
d) None of these
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The complexity of Binary search algorithm is
a) O(n)
b) O(logn)
c) O(n2)
d) O(n log n)
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
16 questions
Quiz on List and Tuples
Quiz
•
University
20 questions
Sistem Informasi Manajemen
Quiz
•
University
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
10 questions
Networking Essentials - Test 5
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
13 questions
Podsumowanie: binarny, komputer, sieć
Quiz
•
7th Grade - University
20 questions
DI (EM24) - Diseño de Perfiles (T5)
Quiz
•
University - Professi...
12 questions
Javascript
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University