quiz 5

quiz 5

Professional Development

11 Qs

quiz-placeholder

Similar activities

Javascript

Javascript

Professional Development

14 Qs

Hotel Reservation

Hotel Reservation

Professional Development

10 Qs

Python Basics - First step of Baby python

Python Basics - First step of Baby python

Professional Development

10 Qs

Info Sys Preparation Set 1

Info Sys Preparation Set 1

Professional Development

10 Qs

Java Quiz

Java Quiz

KG - Professional Development

8 Qs

Q1 Introduction to Python

Q1 Introduction to Python

Professional Development

15 Qs

Day-2 IOAC - ML  Python Assessment_5th-Feb-2023

Day-2 IOAC - ML Python Assessment_5th-Feb-2023

Professional Development

10 Qs

ADA - Coding Tank 3

ADA - Coding Tank 3

Professional Development

10 Qs

quiz 5

quiz 5

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Mina Romany

Used 1+ times

FREE Resource

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where cannot we use break?

switch statment

while loop

for loop

if statment

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what does Continue do?

Go Out of the scope

stop the loop

skip iteration

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

List<int> l1=[1,2,3];

List<String> l2=['a',...l1,'b','c'];

print(l2)

['a',1,2,3,'b','c']

['a',[1,2,3],'b','c']

null

error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if(3>8) print('hello');

print('dart');

hello

dart

dart

hello

none of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print('hello');

if(12>8) print('dart');

hello

dart

hello

dart

none of these

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

String name='ahmed';

assert(name == 'Ahmed');

print('the end...');

exception

the end...

ahmed

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int i=8+2; switch(i){ case 1:case 2: print('hello'); break; case 8:case 9: default: print('hi'); break; }

hello

hi

hi

hello

no output

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?

Discover more resources for Professional Development