
Cryptec Quiz Round 2
Authored by Shashank Kukkaje
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following sequences of code could be used in the destructor ~List() to correctly delete all of the nodes in the list? (Which ones are legal, even if the style is atrocious?)
I. for (ListNode *n = head; head != NULL; head = n) { n = head->next; delete head; }
II. for (ListNode *n = head; n != NULL; n->next) { delete n; }
III. ListNode* n; while (head != NULL) { n = head->next; delete head; head = n; }
I and II only
II and III only
I and III only
III only
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
.
2
3
5
Compilation error
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
.
Compilation error
Runtime error
1
Exception
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which of the following statements about Java Threads is correct?
Java threads guarantee that multiple threads will always execute in parallel, regardless of the underlying hardware.
Java threads are always preemptive, meaning that a running thread can never be interrupted by another thread.
Java threads always execute in the order in which they were created.
The "yield" method in Java threads guarantees that the current thread will always yield execution to another thread.
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
.
Employee joe
joe.id = 35
Employee joe
joe.aflcio = 35
Employee joe
aflcio = 35
Employee joe
joe.aflcio.id = 35
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Which one of the following is the overflow condition if a circular queue is implemented using array having size MAX?
rear= MAX-1
rear=MAX
front=(rear+1) mod max
None of the them
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
What will be the output of the following Python code?
list1 = [1, 3]
list2 = list1
list1[0] = 4
print(list2)
[1, 4]
[1, 3, 4]
[4, 3]
[1, 3]
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
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
15 questions
GIS Unit III
Quiz
•
University
20 questions
Quiz Harian Gdevelop MPK
Quiz
•
University
15 questions
Computer and Other Human Inventions
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th Grade - University
20 questions
Digital and Analog transmission
Quiz
•
University
10 questions
UTILITY PROGRAM
Quiz
•
University
10 questions
Data Warehouse - Foundations
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University