Lecture 2 Exercises
Lecture 2 Exercises
Name:………………………………………
Introduction to Python
31. In the context of a program, what does the 'Fetch' operation involve?
o A) Executing an instruction
o B) Retrieving an instruction from memory
o C) Producing output data
o D) Storing data
32. What is a unique feature of secondary storage compared to main memory?
o A) It is volatile
o B) It has slower access speed
o C) It loses data when power is off
o D) It stores data temporarily
33. Which of the following is a type of input device?
o A) Monitor
o B) Printer
o C) Keyboard
o D) Disk Drive
34. What is a key feature of system software?
o A) Assists with specific tasks
o B) Manages and controls computer hardware
o C) Provides web development frameworks
o D) Enhances productivity with office tools
35. What is the main role of application software?
o A) Control hardware operations
o B) Manage memory
o C) Assist users with specific tasks
o D) Translate code into machine language
36. What does a flowchart's 'Decision' symbol represent?
o A) Start or end of a process
o B) A processing step
o C) A decision point with yes/no branches
o D) Input or output operations
37. What does the 'Processing' symbol in a flowchart indicate?
o A) Input or output operations
o B) Flow of logic
o C) A decision point
o D) A processing step with instructions
38. In a flowchart, what does the 'Connector' symbol do?
o A) Show the start or end of a task
o B) Indicate input or output operations
o C) Join flow lines
o D) Represent a processing step
39. What is the purpose of rounding in the algorithm for calculating the cost of sending a package?
o A) To ensure exact cost calculation
o B) To simplify the cost calculation
o C) To handle fractional units of weight
o D) To convert units from kilograms to pounds
40. Which of the following is NOT a key step in the program development cycle?
o A) Analyze – Define the Problem
o B) Design – Plan a Solution
o C) Implement – Write Code
o D) Execute – Run the Program