Round 4 - Harvest

Round 4 - Harvest

University

15 Qs

quiz-placeholder

Similar activities

Methods

Methods

University

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Functions

Functions

University

14 Qs

Python Basics

Python Basics

University

10 Qs

JavaScript Quiz

JavaScript Quiz

University

12 Qs

Java Quiz 1

Java Quiz 1

University

10 Qs

קלט פלט משתנים והוראות השמה

קלט פלט משתנים והוראות השמה

7th Grade - University

20 Qs

Week 4: Recap Java Programming

Week 4: Recap Java Programming

University

10 Qs

Round 4 - Harvest

Round 4 - Harvest

Assessment

Quiz

Computers

University

Hard

Created by

Aditya Singh

Used 5+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

a = 4.5

b = 2

print(a//b)

2.0

No such operator

Division Error

2

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

a = True

b = False

c = False

if a or b and c:

print("TECH NEW KAL")

else:

print("tech new kal")

TECH NEW KAL

tech new kal

Syntax Error

Compilation Error

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

for i in range(2):

print(i)

for i in range(4, 6):

print(i)

2

4

6

1

2

5

0

1

4

5

1

2

4

6

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

public class Test  

{  

public static void main(String args[])  

{  

int i=20+ +9- -12+ +4- -13+ +19;  

System.out.println(i);  

}  

}  

37

77

27

66

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

nameList = ["Harsh", "Prateek", "Bob"]

print(nameList[1][-1])

Bob

k

keetarp

Harsh, Prateek

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

class Test {

    public static void main(String[] args) {

        for(int i = 0; true; i++) {

            System.out.println("Hello");

            break;

        }

    }

}

Hello

HelloHelloHelloHelloHelloHelloHello

Hello

Hello

Hello

Hello

Infinite loop

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

for i in [1, 2, 3, 4][::-1]:

print(i)

1

2

3

1

2

3

4

4

3

2

1

4

3

2

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?