wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python for Class 7

Total questions: 11

Worksheet time: 11mins

Name
Class
Date
1.

What is Python?

a)

A programming Language

b)

A Game

c)

A type of Video

d)

None of these

2.

What is String?

a)

A Numerical Character

b)

A sign of Division

c)

An Alphabetical Character

d)

A sign of Multiplication

3.

Which of the Syntax is Correct for "print statement"

a)

Print(Hello)

b)

PrInt('hello')

c)

"Hello"(print)

d)

print("Hello")

4.

What character we use to define if the object is String or Integer?

a)

str and INT

b)

STR and INT

c)

str(input("Enter your age")) and int(input("Enter your age"))

d)

str and int

5.

Which of the following statement will print Hello?

a)

print("Hello")

b)

input("Hello)

c)

input("Hello")

d)

Print("Hello)

6.

Which of the following command will take a "Input"

a)

Input()

b)

the input()

c)

input()

d)

input("Hello")

7.

Define Binary Operations

a)

When we use only one operations

b)

When we apply 2 or more operation

c)

when we need to display answers in binary form

d)

Not knowing

8.
What is a variable?
a)
A box(memory location) where you store values
b)
a type of graphics
c)
Data type
d)
a type of memory
9.
What symbol is used in python to assign values to a variable?
a)
equals =
b)
plus + 
c)
forward slash /
d)
asterisk *
10.

What will be the output?

name = "Dave"

print (name)

a)

Dave

b)

'Dave'

c)

name

d)

(name)

11.
What Python command lets the user enter an answer to a question?
a)
answer()
b)
open()
c)
print()
d)
input()