
Infinity - inkling 2k23

Quiz
•
Computers
•
University
•
Hard
Infinity 2k23
Used 8+ times
FREE Resource
57 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following statements about red-black trees is not true?
They are self-balancing binary search trees
They maintain a balance factor of -1, 0, or 1 at each node
They have a worst-case time complexity of O(log n) for insertion, deletion, and search operations
They have a height of O(n) in the worst case
They guarantee a height of O(log n) in the worst case
2.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
How do you write a regular expression to match the following string pattern:
A string of exactly three characters, where the first and last characters are the same, and the middle character is a digit?
3.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
How do you write a regular expression to match the following string pattern:
a string that begins with a digit, ends with any word character, and has exactly five characters in total?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Enter the output:
int main() {
char a='z';
printf("%c",(a>='a'?a:'!'));
return 0;
}
ZZ
aa
z
a
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Select the output:
int main()
{
int a=10,b=20,c=0;
c = printf("%d",a)+ ++b;
printf("%d",c);
}
10
1023
1031
error
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Select the output:
int main()
{
printf("%d + %d",3+2);
}
5 + garbage value
3+2
5
Error
garbage value
7.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
Select the output:
int main()
{
printf("%d %d %d","%d %d",10,20,30,40,50);
}
Hint: type garbage value as GV
Create a free account and access millions of resources
Similar Resources on Wayground
55 questions
Domain 2 - Network Security

Quiz
•
10th Grade - University
60 questions
Perbaikan UAS - Pemrograman 3

Quiz
•
University
56 questions
Manage the Application Life Cycle Lesson 1

Quiz
•
9th Grade - Professio...
60 questions
System Analysis and Design - Midterm (BSIT 3)

Quiz
•
University
55 questions
*Computer Science Test*

Quiz
•
KG - Professional Dev...
60 questions
Online Quiz for B.Tech AI/ML II Year III Semester

Quiz
•
University
57 questions
Вопросы по C++

Quiz
•
University
60 questions
Fundamentos de Programacion

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
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
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University