Round 4 - Harvest

Round 4 - Harvest

University

15 Qs

quiz-placeholder

Similar activities

Java1

Java1

University

10 Qs

Java Programming

Java Programming

University

15 Qs

 Computing Revision JCG

Computing Revision JCG

KG - University

14 Qs

Quiz on Java

Quiz on Java

University

20 Qs

kotlin Quiz 2

kotlin Quiz 2

University

12 Qs

Arquitectura de computadoras I

Arquitectura de computadoras I

University

20 Qs

Java March

Java March

KG - University

16 Qs

FGCT4023 Topic 5 - Colour & Text

FGCT4023 Topic 5 - Colour & Text

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?