Quiz1

Quiz1

University

10 Qs

quiz-placeholder

Similar activities

Exam 1 Practice

Exam 1 Practice

University

15 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

C programming-1

C programming-1

University

13 Qs

Python Revision

Python Revision

University

14 Qs

G7B_Quiz1_2T

G7B_Quiz1_2T

University

15 Qs

Lists In Python_1

Lists In Python_1

9th Grade - University

15 Qs

Python debugging

Python debugging

University

10 Qs

Python Basics

Python Basics

KG - University

15 Qs

Quiz1

Quiz1

Assessment

Quiz

Computers

University

Medium

Created by

Mohand Mahmoud

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is output of this code:

int x = 5.2

print(x)

5.0

5

5.2

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 14.9;

what is the type of variable x?

int

float

double

Nontype

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Fill the gaps.

___Declaring an integer

and printing it___

x = 42;

print(x);

//......//

/*.....*/

<..............>

""" ....................""

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output of this code?

R = 3.1

R=5

print(R)

3.1

5

Error

0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which one print 10?

num =9

print ("the number is $num + 1")

num =9

print ("the number is num +1")

num =9

print ("the number is ${num + 1}")

num =9

print ("the number is " , (num +1))

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a ="4";

b ="2";

print(a + b);

what is the output of this code?

Error

6

42

Error

Null

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to determine the remainder?

/

*

%

+

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?