wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Iterative Statements in Python and Cyber Ethics

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

The valid combination of both the operands and operators makes an .......... which returns a computer result.

a)

Argument

b)

Looping

c)

Expression

d)

Operands

2.

The ............ operator is used to concatenate or join two or more strings.

a)

+

b)

*

c)

&

d)

None of the these

3.

The............. statements cause the program control to transfer to a specific location depending on the outcome of the conditional expression.

a)

sequential

b)

Conditional

c)

Iterative

d)

All of these

4.

i=10

while(i<=15):

print(i)

i=i+1

a)

Output will be-

10

11

12

13

14

15

b)

Output will be-

10

11

12

13

14

c)

#value error

d)

None of these

5.

The two membership operators in Python are.............

a)

If....ElIF

b)

In and not in

c)

In and range

d)

Range and Between

6.

The .......... loop is used when you are sure about how many times a loop body will be executed.

a)

While

b)

for

c)

while.....else

d)

None of these

7.

A ........... is a right, relating to the new inventions that grants the inventor the sole right to make, use, and sell that invention for a specific perod of time.

a)

Copyright

b)

Patent

c)

Trademark

d)

Software Piracy

8.

A .......... is a legal right granted by the law to the creator for his original work.

a)

Copyright

b)

Patent

c)

Trademark

d)

None of these

9.

.................. is an impression or information about a person that exists on the internet because of his online activity,

a)

Intellectual property

b)

Digital Footprint

c)

Cyber Ethics

d)

Cyber Crime

10.

................is an act of sending an email to a user, misleading him to believe that it is from a trusting person or organization.

a)

Phishing

b)

Spamming

c)

Hacking

d)

All of these