T4Tutorials .PK

NSCT – Problem Solving Using Programming MCQs

1. . Problem solving using programming involves:

(A) Backup only


(B) Encrypting data only


(C) Compressing files only


(D) Analyzing a problem, designing an algorithm, and implementing it in code




2. . The first step in problem solving using programming is:

(A) Understanding and defining the problem clearly


(B) Writing code immediately


(C) Encrypting data


(D) Backup only




3. . Algorithm design in problem solving is:

(A) Creating a step-by-step solution to a problem before coding


(B) Compressing code


(C) Encrypting algorithm


(D) Backup only




4. . Pseudocode helps in problem solving by:

(A) Providing a high-level description of the algorithm without using syntax of a specific language


(B) Encrypting code


(C) Compressing code


(D) Backup only




5. . Flowcharts are used to:

(A) Backup only


(B) Encrypt flow


(C) Compress flow


(D) Graphically represent the flow of an algorithm for better understanding




6. . Top-down approach in programming problem solving means:

(A) Compressing subproblems


(B) Encrypting top level


(C) Breaking a problem into smaller subproblems and solving each part


(D) Backup only




7. . Bottom-up approach in programming problem solving means:

(A) Encrypting modules


(B) Combining solutions of smaller modules to solve the larger problem


(C) Compressing modules


(D) Backup only




8. . Debugging is important in problem solving because:

(A) Encrypts program


(B) It identifies and fixes errors to ensure the program works correctly


(C) Compresses program


(D) Backup only




9. . Testing in programming problem solving ensures:

(A) The solution meets requirements and works for different input cases


(B) Encrypting input


(C) Compressing input


(D) Backup only




10. . Iterative refinement in problem solving refers to:

(A) Backup only


(B) Encrypting iterations


(C) Compressing iterations


(D) Improving the solution step by step based on testing and feedback




11. . Control structures in programming problem solving include:

(A) Encryption commands


(B) Sequential, selection (if-else), and iteration (loops)


(C) Compression commands


(D) Backup only




12. . Modular programming helps in problem solving by:

(A) Dividing a program into independent modules to simplify development and debugging


(B) Encrypting modules


(C) Compressing modules


(D) Backup only




13. . Data structures are used in problem solving to:

(A) Encrypt data


(B) Organize and store data efficiently for processing


(C) Compress data


(D) Backup only




14. . Recursion in problem solving is:

(A) Encrypting recursive calls


(B) Solving a problem by defining the solution in terms of smaller instances of itself


(C) Compressing recursion


(D) Backup only




15. . Importance of efficiency in problem solving using programming is:

(A) Compressing code efficiently


(B) Encrypting efficient code


(C) Ensures solutions are optimal in terms of time and memory


(D) Backup only




16. . Advantages of problem solving using programming include:

(A) Automation, accuracy, reproducibility, and handling complex calculations


(B) Encrypting results only


(C) Compressing results only


(D) Backup only




17. . Problem-solving skills using programming are enhanced by:

(A) Compressing practice


(B) Encrypting practice


(C) Practice, debugging, and analyzing different approaches


(D) Backup only




18. . Algorithm correctness ensures:

(A) Backup only


(B) Encrypting results


(C) Compressing results


(D) The program produces expected results for all valid inputs




19. . Real-world applications of problem solving using programming include:

(A) Encrypting files only


(B) Data analysis, AI, web development, automation, and scientific computing


(C) Compressing files only


(D) Backup only




20. . The main purpose of problem solving using programming is to:

(A) Compress programs


(B) Encrypt problems


(C) Transform real-world problems into logical steps, implement them in code, and obtain correct solutions efficiently


(D) Backup tables




Exit mobile version