
Computer Science Quiz
Authored by DHARSINI B
English
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following algorithms is used to find the shortest path in a graph with negative edge weights but no negative cycles?
Dijkstra's Algorithm
Bellman-Ford Algorithm
Prim's Algorithm
Kruskal's Algorithm
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a scenario where a sequence of digits is arranged in ascending order, which of the following options, when subjected to a binary operation of addition followed by a subtraction of the smallest digit, results in the smallest possible non-negative value?
The largest digit added to the smallest digit
The smallest digit subtracted from the largest digit
The sum of all digits minus the smallest digit
The sum of the smallest and second smallest digits
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
4
10
24
16
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
12
42
15
27
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
2
3
4
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code: What will be the output when the code is executed?
20
31
38
40
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider the following Python code:
What will be the output when the code is executed?
6
8
9
11
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
40 questions
EmSAT - Practice 1
Quiz
•
University
36 questions
The Impact of Mobile Phones on Classroom Performance
Quiz
•
University
40 questions
Test 2nd term- ENGLISH 3 CRM
Quiz
•
University
36 questions
Passive voice
Quiz
•
University
40 questions
Verbal Grill - English Quiz
Quiz
•
University
45 questions
UNIT 16. 12BS. ASEAN. PRACTICE TEST
Quiz
•
University
36 questions
REVIEW LESSON 12-13
Quiz
•
7th Grade - University
44 questions
FLASHCARD VOCAB 11
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 English
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
10 questions
THEME
Quiz
•
KG - University
13 questions
Jobs in the Theater
Quiz
•
6th Grade - University
12 questions
Charlie and the Chocolate Factory Chapters 21-30
Quiz
•
2nd Grade - University
20 questions
Context Clues
Quiz
•
KG - University