Computer Assignment- Chapter-6 Class VIII
1.) A __________ is a step-by-step sequence of instructions that help the computer to perform
the given tasks.
2.) Python is a general purpose, high level programming language, which uses variables without
_________ .
3.) Python language is created by _________________ .
4.) The two popular applications that are designed using PYTHON are _______________ and
_____________
5.) In ____________ mode of Python, the interpreter executes the statements, one by one.
6.) The ______________ function is used to display user-defined messages on the screen.
7.) IDLE stands for ________________________.
8.) The shortcut key to execute the Python file.___________
9.) The result of 29>85 is ___________
10.) The storage location to hold the values to be used later is known as ______________ .
11.) The __________ is not allowed in a variable name.
12.) A variable name must start with an ______________ or an _______________ .
13.) 90price is a valid/invalid variable name.
14.) The _____________ of a value or a variable is an attribute that tells what kind of data a
variable can have.
15.) We use _______ symbol as an assignment operator.
16.) The _____________ function is used to return the data type of a value.
17.) The output of 10%3 is _________
18.) The output of 3**4 is _________
19.) The output of 20//3 is __________
20.) The output of “Have a”+ “Nice Day” is ___________
21.) The output of 100>50 or 50<100 is _________
22.) The output of 70>30 and 50<100 is_________
23.) The output of 200>50 and 50>100 is ___________
24.) The flow of execution is altered by the use of __________ statements.
25.) Single line comments are created by beginning a line with the __________ character.
26.) A _________ is a pictorial representation of the flow of steps or a procedure to solve a
problem.
27.) In ____________ construct , the statements in a program are executed in one after the
other.
28.) In ____________ statements causes the program control to transfer to a specific location
depending on the outcome of the conditional expression.
29.) The _________ operator reverses or negates the given condition.
30.) The output of Happy*5 is ____________
Important Programs to be practiced
1.) Write a program in Python to check whether a person is eligible for creating a Driving License
or not.
2.) Create a basic Mathematics Calculator in Python for Addition, Subtraction, Multiplication and
Division of two numbers.
3.) Create a program in Python to calculate the area of Square, Rectangle and Circle based on
user’s choice.
4.) Create a program to check the divisibility of any number.
5.) Create a program in Python to calculate the total marks of five subjects and give the grades
according to it.
<40% E Grade
>40% and <50% D Grade
>50% and <60% C Grade
>60% and <75% B Grade
>75% A Grade