quiz 5

quiz 5

Professional Development

11 Qs

quiz-placeholder

Similar activities

ABREDES - Devasc Python

ABREDES - Devasc Python

Professional Development

14 Qs

SAP Quiz

SAP Quiz

Professional Development

10 Qs

PreTrainingJavaScript

PreTrainingJavaScript

Professional Development

9 Qs

DAY1

DAY1

Professional Development

15 Qs

C Basic

C Basic

Professional Development

10 Qs

Day3

Day3

Professional Development

15 Qs

Python Looping

Python Looping

Professional Development

9 Qs

LC - Quiz 3

LC - Quiz 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?