
Rapid Round 1
Authored by VIKASH AGS22ABCA169
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
The height of a binary tree is the maximum number of edges in any root to leaf path. The maximum number of nodes in a binary tree of height h is:
2^h−1
2^h−1−1
2^h+1−1
2^h+1
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Consider a binary min-heap containing 105 distinct elements. Let k be the index (in the underlying array) of the maximum element stored in the heap. The number of possible values of k is
53
52
27
1
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Consider a hash table with 100 slots. Collisions are resolved using chaining. Assuming simple uniform hashing, what is the probability that the first 3 slots are unfilled after the first 3 insertions?
(97×97×97)/100^3
(99×98×97)/100^3
(97×96×95)/100^3
(97×96×95/(3!×100^3)
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What will be output of this code?
#include
65533 -3
65533 65533
-3 -3
65533 3
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include
0, c
0, a+2
'0', 'a+2'
'0', 'c'
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
#include
255,0
65280,0
0,0
0,65280
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In which of the following cases is it possible to obtain different results for call-by-reference and call-by-name parameter passing methods?
Passing a constant value as a parameter
Passing the address of an array as a parameter
Passing an array element as a parameter
Passing an array
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
15 questions
OS Quiz-1
Quiz
•
University
10 questions
Quizizz
Quiz
•
University
10 questions
Repaso F1007B (Bloque 3)
Quiz
•
University
10 questions
Programación II Parte 5
Quiz
•
University
13 questions
Podsumowanie: binarny, komputer, sieć
Quiz
•
7th Grade - University
8 questions
Arquitetura de computadores (Aula 2)
Quiz
•
University
10 questions
TIU Quiz-9
Quiz
•
University
12 questions
Javascript
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