FIXIT FEST - LEO CLUB (DAY - 2)

FIXIT FEST - LEO CLUB (DAY - 2)

University

24 Qs

quiz-placeholder

Similar activities

JAVA QUIZ

JAVA QUIZ

University

20 Qs

Round 1: Hack The Quest

Round 1: Hack The Quest

8th Grade - University

22 Qs

Introduction To Machine Learning

Introduction To Machine Learning

University

20 Qs

Digital Communication : UNIT-2

Digital Communication : UNIT-2

University

20 Qs

19ECE301 - DIGITAL ELECTRONICS

19ECE301 - DIGITAL ELECTRONICS

University

20 Qs

QUIZ LOGIC GATE

QUIZ LOGIC GATE

University

20 Qs

Python Fundamentals - Epsiode 02

Python Fundamentals - Epsiode 02

University

20 Qs

Python Fundamentals - Episode 03

Python Fundamentals - Episode 03

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?