Quiz 2.2

Quiz 2.2

Professional Development

26 Qs

quiz-placeholder

Similar activities

Java

Java

Professional Development

25 Qs

Flutter_Q1

Flutter_Q1

Professional Development

21 Qs

DATATYPES - INPUT/OUTPUT - OPERATORS

DATATYPES - INPUT/OUTPUT - OPERATORS

Professional Development

24 Qs

Flutter_Q2

Flutter_Q2

Professional Development

22 Qs

C BASICS

C BASICS

Professional Development

30 Qs

php interview

php interview

Professional Development

23 Qs

CONTROL STRUCTURES - LIST

CONTROL STRUCTURES - LIST

Professional Development

25 Qs

Go Lang Techmaster

Go Lang Techmaster

Professional Development

25 Qs

Quiz 2.2

Quiz 2.2

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Mohand Mahmoud

Used 2+ times

FREE Resource

26 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

if 5 == 10 ........... 4 == 4:

print("At least one of the statements is true")
output is : At least one of the statements is true

2.

FILL IN THE BLANK QUESTION

1 min • 3 pts

fruits = ["apple", "banana", "cherry"]

Use the method to add "orange" to the end of fruits list.

3.

FILL IN THE BLANK QUESTION

1 min • 3 pts

fruits = ["apple", "banana", "cherry"]

Use the method to add "lemon" as the second item in the fruits list.


4.

FILL IN THE BLANK QUESTION

1 min • 3 pts

fruits = ["apple", "banana", "cherry"]

Use indexing to print the last item in the list.

5.

FILL IN THE BLANK QUESTION

1 min • 3 pts

fruits = {"apple", "banana", "cherry"}

more_fruits = ["orange", "mango", "grapes"]

Use the correct method to add multiple items (more_fruits) to the fruits set.

6.

FILL IN THE BLANK QUESTION

1 min • 3 pts

fruits = {"apple", "banana", "cherry"}

Use the method to add "orange" to the fruits set.

7.

FILL IN THE BLANK QUESTION

1 min • 3 pts

print(bool("abc"))

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?