
Infinity - inkling 2k23
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Infinity 2k23
Used 8+ times
FREE Resource
Enhance your content in a minute
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
60 questions
Keamanan Jaringan
Quiz
•
University
62 questions
ÔN TẬP Giữa Kỳ Môn Tin Học 8
Quiz
•
7th Grade - University
60 questions
Tin học Chương 1
Quiz
•
University
60 questions
HARDWARE MAINTENANCE TROUBLESHOOTING QUIZ
Quiz
•
University
62 questions
Trắc nghiệm nhập môn OOP
Quiz
•
University
52 questions
DP 900
Quiz
•
University
62 questions
Building and Securing a Small Network
Quiz
•
University
60 questions
Doors
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th 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
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
