Rapid Round 1

Quiz
•
Computers
•
University
•
Hard
VIKASH AGS22ABCA169
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
7 questions
Union in c 10

Quiz
•
University
12 questions
C/C++ C Function

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
9 questions
c language quiz

Quiz
•
University
10 questions
C basic

Quiz
•
University
15 questions
CODE ZENITH

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University