Computer Science Quiz

Computer Science Quiz

University

40 Qs

quiz-placeholder

Similar activities

Pre-UAS Grammar Exercise

Pre-UAS Grammar Exercise

University

40 Qs

Verbal Test - 2

Verbal Test - 2

University

40 Qs

DEMONSTRATIVE

DEMONSTRATIVE

University

44 Qs

Ingles Tecnico

Ingles Tecnico

University

38 Qs

Mid Term

Mid Term

University

35 Qs

MEETING FOUR ASSIGNMENT

MEETING FOUR ASSIGNMENT

University

40 Qs

Câu hỏi về DMA và CPU

Câu hỏi về DMA và CPU

7th Grade - University

37 Qs

Cumulative

Cumulative

University

37 Qs

Computer Science Quiz

Computer Science Quiz

Assessment

Quiz

English

University

Hard

Created by

DHARSINI B

FREE Resource

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

Consider the following Python code:

What will be the output when the code is executed?

6

8

9

11

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?