After creating a borrowing system, Mr. Adam checks incorrect return dates and fixes errors. Which step does this describe?, Testing and debugging, Designing the solution, Problem analysis, Writing pseudocode, A school cooperative system has already been designed. Which activity best represents implementation?, Listing the inputs, Identifying the problem, Drawing an IPO table, Writing the program code, Which statement best describes the IPO model?, A method for selecting Python keywords, A way to identify inputs, processing, and outputs, A type of loop, A diagram used only for testing, A banking system checks security tokens against valid records. Which IPO component describes the checking operation?, Output, Start, Process, Input, A smart farming sensor measures soil moisture and sends the reading to a controller. The measured moisture value is classified as:, Process, Decision, Output, Input, A ride-hailing app displays a revised arrival time to a passenger. This is an example of:, Output, Process, Input, Storage, A petrol station charges RM1.99 per litre. A customer pays RM19.90. Which formula calculates litres purchased?, litres = payment / 1.99, litres = payment * 1.99, litres = payment + 1.99, litres = 1.99 / payment, A petrol station processes payments from exactly five customers. Which repetition type is most appropriate?, No repetition, Infinite loop, Counter-controlled, Sentinel-controlled, A shop reads product prices until the user enters -1. Which repetition type is most appropriate?, Dual selection, Counter-controlled, Sequence only, Sentinel-controlled, A program calculates the cost of covering a pond at RM30 per square metre. Which item is an Output?, Total covering cost, Side length S2, Cost rate of RM30, Side length S1, A library system produces a report of currently borrowed books. Where does the report belong in an IPO analysis?, Input, Process, Output, Condition, An IoT system reads 30 daily temperatures. Which input is needed to identify the day with the highest temperature?, Only the maximum temperature, Only the final average, Only the number of sensors, Daily temperature readings, To calculate the average of 30 daily temperatures, which processing sequence is correct?, Divide each reading by its day number, Add all readings and divide by 30, Multiply maximum temperature by 30, Subtract minimum from maximum, Which flowchart symbol should contain the condition mark < 40?, Ellipse, Parallelogram, Rectangle, Diamond, In a flowchart, which symbol is normally used to display "Pass"?, Diamond, Rectangle, Parallelogram, Circle, Which pseudocode correctly represents a dual selection?, IF condition THEN action1 ELSE action2 END IF, START action STOP, WHILE condition action END WHILE, READ condition PRINT condition, Which flowchart symbol represents a calculation such as total = total + price?, Ellipse, Rectangle, Diamond, Arrow, What is the purpose of arrows in a flowchart?, Store a counter, Represent output, Indicate direction of control flow, Represent input, Which flowchart symbol marks the start or end of an algorithm?, Rectangle, Diamond, Parallelogram, Ellipse, Which pseudocode statement is appropriate for obtaining a user-entered price?, DISPLAY price, CALCULATE price, READ price, STOP price, A flowchart repeatedly reads a number until 0 is entered. Which symbol tests number != 0?, Rectangle, Arrow, Ellipse, Diamond, A flowchart has a decision with True and False branches that later rejoin. Which control structure is shown?, Sequence only, Counter-controlled repetition, Dual selection, Sentinel-controlled repetition, Which is a valid Python identifier?, while, total-cost, 2price, total_cost, Which data type is most appropriate for a calculated BMI of 23.75?, bool, str, int, float, Which data type is suitable for storing whether a student passed (True or False)?, int, bool, float, str, Which Python operator is used to check whether a number is divisible by 5?, %, //, +=, **, What is the output of: print(13 // 5)?, 5, 3, 2, 2.6, What is the output of: print(13 % 5)?, 5, 3, 2, 8, Which statement assigns the character Y to status?, status = Y (without defining Y), "Y" = status, status == Y, status = "Y", Which statement correctly reads a decimal price from the keyboard?, float = input(price), price = print("Price"), price = float(input("Price: ")), price = input(float)

CP115 Computer Programming 1 m

by

Leaderboard

Visual style

Options

Switch template

Continue editing: ?