The document contains 3 questions asking to:
1. Provide short answers for 8 questions about phases of software development, differences between source/object code, languages, comments etc.
2. Answer 8 multiple choice questions about Python, compilers, identifiers, outputs and errors.
3. Write pseudo code and flow charts for 2 programs, one calculating seconds in a day and the other calculating acceleration from initial and final velocity over time.
The document contains 3 questions asking to:
1. Provide short answers for 8 questions about phases of software development, differences between source/object code, languages, comments etc.
2. Answer 8 multiple choice questions about Python, compilers, identifiers, outputs and errors.
3. Write pseudo code and flow charts for 2 programs, one calculating seconds in a day and the other calculating acceleration from initial and final velocity over time.
The document contains 3 questions asking to:
1. Provide short answers for 8 questions about phases of software development, differences between source/object code, languages, comments etc.
2. Answer 8 multiple choice questions about Python, compilers, identifiers, outputs and errors.
3. Write pseudo code and flow charts for 2 programs, one calculating seconds in a day and the other calculating acceleration from initial and final velocity over time.
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)