
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
57 questions
Quiz 1 - Information Management

Quiz
•
University
61 questions
Msw1

Quiz
•
3rd Grade - University
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #4

Quiz
•
University - Professi...
61 questions
DAta Structure-unit 1&2

Quiz
•
University
58 questions
Web Auth 2

Quiz
•
University
60 questions
Phát Triển IoT

Quiz
•
University
53 questions
Chương 3-Tin học văn phòng

Quiz
•
University
55 questions
Final Exam Practice

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University