Font size
Worksheets11th IP 1st Periodical
Total questions: 40
Worksheet time: 1hrs 24mins
which of the following are syntactically correct strings?
"this course is great"
"good day'
hello"
what is the difference between a keyword and an identifier
keyword is a user defined name and identifier is a special word that has a special meaning
keyword is a special word that has a special meaning and identifier is a user defined name
both are user defined
find out invalid strings from the following
"Hello"
'Hello'
"Hello'
'Hello"
who developed python?
guido van rossum
richard in 1990
find the output?
x=10
y=5
print(x*y)
(a)
find the output?
a=14
print("MY FAVOURITE NO IS ",a)
(a)
find the output?
x,y=2, 6
x,y=y, x+2
print(x,y)
(a)
ALU and control unit of a computer into a single unit is known as -----
cpu
input unit
output unit
comments in python begin with ------ symbol
(a)
The input() returns the value as ----- type
(a)
python uses ----- to convert source code to object code.
(a)
------ literal represents the absence of a value
numerical
boolean
string
None
facebook , whatsapp, youtube are examples of ------
hardware
software
language processor
The smallest individual unit of a program is known as -------
(a)
----- operators need only one operand to operate upon.
unary
binary
arithmetic
find input device from the following
printer
keyboard
speaker
select the keywords
input()
if
print()
all of the above
data carrying part of a system bus is called -----
control bus
data bus
i / o bus
----- is a word having special meaning reserved by programming language.
identifiers
keywords
tokens
loading the operating system to the main memory of the computer is called ----
(a)
what is mean by " case sensitive" ?
uppercase and lowercase letters are same meaning
uppercase and lowercase letters are having different meaning
english like language
----- represents a real number written with a decimal point.
int
float
boolean
find the example of a unary operation.
-3
a-b
10+20
the physical electronic components of a computer are called ----
(a)
---- is a special high speed storage mechanism
(a)
A solid state drive is a -----
hard disk
storage mechanism
printer
An Antivirus s/w is an example of -------
customised s/w
utility software
operating system
which one is not a language processor?
assembler
interpreter
compiler
compression tools
Microsoft internet explorer is made available as----
free s/w
freeware
OSS means ----
(a)
Find the size of the string
"HELLO WORLD"
(a)
Find the output of the following program,
if we enter 5 as n in compile time?
n=int(input("enter a number"))
s=n*n
print(s)
(a)
write a python program to enter a number and print it.
n=input("enter a number")
print(n)
n=int(input("enter a number"))
print(n)
n="enter a nunber"
print(n)
write a python program to find the sum of two values. Give the provision to enter floating point values also.
"x"=float(input("enter a value"))
"y"=float(input("enter another value"))
"z"=x+y
print("z")
x=float(input("enter a value"))
y=float(input("enter another value"))
z=x+y
print(z)
x=int(input("enter a value"))
y=input("enter another value")
z=x+y
print(z)
data items having fixed values are called ---
(a)
python is a case sensitive language (true / false)
True
False
to convert the read value through input() into integer type, int() is used.
True
False
Find the output
p=q=r=39
print(q)
(a)
A secondary storage device
RAM
ROM
pendrive
write a program to display the name Sundar?
print("My name is Sundar")
input(my name is Sundar)
