You are on page 1of 1

Q no 1: Write Short answers of any five questions

1. Write the names of phases of software development?


2. Difference between source code and object code?
3. Difference between high level language and low-level language
4. Difference between compiler and interpreter.
5. Difference single comment and multiline comments
6. Difference between constant and variable.
7. Define keyword with examples
8. . Mention disadvantages of Assembly language

Q no 2: Multiple choice questions


1. Python is a compiled language. a. True b. False c. Can’t say d. None of these
2. A program must be converted to _________ language to be executed by a computer.
a. Assembly b. Machine c. High level d. Very high level
3. A group of people maintain exclusive control over the source code of a software. Such software is called
a. Freeware b. Shareware c. Proprietary d. Adware
4. Identifiers may contain letters and digits, but cannot begin with a _____________.
a. Character b. Digit c. Underscore d. Special Symbols
5. . Guess the output of the following expression. float(22//3+3/3) a. 8 b. 8.0 c. −8.3 d. 8.333
6. In Python, Indentation is a _____________ and not a matter of style.
a. Requirement b. Refinement c. Not required d. Not Refined
7. The operators is and is not are _____________.
a. Identity Operators b. Comparison Operators c. Membership Operators d. Unary Operators
8. Incorrect Indentation results in _____________.
a. IndentationError b. NameError c. TypeError d. SyntaxError

Q no 3:Write the pseudo code and flow char of the following programs

.Write a program that calculates the number of seconds in a day


A car starts from a stoplight and is traveling with a velocity of 10 m/sec east in 20 seconds. Write a program to find the
acceleration of the car. (acc = (vfinal−vinitial)/ time)

You might also like