FIXIT FEST - LEO CLUB (DAY - 2)

FIXIT FEST - LEO CLUB (DAY - 2)

University

24 Qs

quiz-placeholder

Similar activities

Round 1- Code Crunch

Round 1- Code Crunch

University

20 Qs

C Loops

C Loops

University

25 Qs

Pemograman 1

Pemograman 1

University

20 Qs

Data Analytics

Data Analytics

University

25 Qs

PL SQL

PL SQL

University - Professional Development

20 Qs

Basics of Programming

Basics of Programming

University

25 Qs

Python Fundamentals - Episode 03

Python Fundamentals - Episode 03

University

20 Qs

coding beast set 2

coding beast set 2

University

20 Qs

FIXIT FEST - LEO CLUB (DAY - 2)

FIXIT FEST - LEO CLUB (DAY - 2)

Assessment

Quiz

Education

University

Hard

Created by

KAVIN S

Used 2+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

x = 5

y = 2

print(x * y + 3)

What will be the output of this code?

10

13

15

16

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

  1. Which line contains the error in this Python code?

for i in range(5)

print(i)

  • Line 1

Line 2

Line 1 & 2

No Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Media Image

what will be PRINTED ?

  • [3, 4]

  • [2, 3]

  • [1, 2]

  • [4, 5]

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

a = 10

b = 3

c = a % b+3

print(c)

What is the output of this code?

  • 3

  • 2

  • 4

  • 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
  1. Which line contains the error in this Java code?

public static void main(String[] args) {

int num = 2;

System.out.println(num / 0);

}

Line 3

Line 2

Line 1

No Error

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

def multiply(a, b):

return a * b

result = multiply(4, 5)

print(result)

What will be printed?

9

N/A

error

20

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

  1. What will be the value of x after the following code executes?

x = 0

for i in range(1, 6):

x += i

print(x)

10

25

15

20

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?