Programming Concepts
Practice Programming Concepts MCQs for Pakistan exams (CSS, FPSC, PPSC, NTS) — 101 practice questions with answers and explanations.
How to use these questions
Programming Concepts on MCQsHub is 51 published questions for Pakistan exams such as CSS, FPSC, PPSC, and NTS. Open a question, choose an option, then read the explanation before you move on. The explanation names the correct choice and why the other options do not fit. Difficulty labels and topic tags show which idea to revise next, instead of repeating questions you already know.
Previous and next links on each question page stay inside Programming Concepts, so you can work through the subject without returning to this index. Subtopics listed here belong to the same subject and narrow the set. When you want a clock and a score, start a timed quiz for Programming Concepts. When you want a whole sitting rather than one question, open the past-paper library. New Programming Concepts questions appear here after editorial review.
The list below starts with the newest Programming Concepts questions. Later pages keep the same subject. Each title is a link to the full stem, the options, and the explanation.
1 2 3 Next All questions Full list of questions in this category for browsing.
The concept in which a named value in a program that cannot be changed once it has been assigned is best known... Identify the correct definition of Constant. What term describes the following? an error that occurs when code does not follow the grammatical rules of the... In computer science, Syntax error refers to which of the following? Select the correct name for: an error that occurs while a program is executing, often causing it to crash or b... Which statement correctly explains Runtime error? Which concept is defined as follows: the process of repeating a set of instructions until a specific condition... What is Iteration primarily used for? The following statement describes a specific concept. What is it called? a type system where variable types ar... Select the accurate description of Dynamic typing. Which term refers to a variable listed in a function's definition that receives a value when the function is c... What does Parameter refer to? What is the name for a line of text in source code that is ignored by the compiler or interpreter and used to... Which of the following best describes Code comment? Identify the correct concept described as: an automatic memory management process that reclaims memory occupie... Garbage collection is best defined as which of the following? A data type used to represent a sequence of characters, such as text. What is this concept called? Choose the correct description of String (data type). Which of the following best names the concept in which the set of rules that determines the order in which ope... What is the function or purpose of Operator precedence? The concept in which a software design technique that breaks a program into separate, interchangeable modules... Identify the correct definition of Modular programming. What term describes the following? a loop that exists inside the body of another loop. In computer science, Nested loop refers to which of the following? Select the correct name for: an informal, high-level description of a program's logic that is not tied to any... Select the accurate description of Conditional statement. Which term refers to a data structure that stores a fixed-size sequential collection of elements of the same t... What does Array refer to? What is the name for the region of a program where a declared variable can be accessed? Which of the following best describes Variable scope? Identify the correct concept described as: a type system where variable types are checked at compile time rath... Select the correct name for: a variable that stores the memory address of another variable. Which statement correctly explains Pointer? Which concept is defined as follows: a programming mechanism used to detect and respond to runtime errors grac... What is Exception handling primarily used for? The following statement describes a specific concept. What is it called? a control structure that executes dif... Which term refers to a named storage location in memory that holds a value which can change during program exe... What does Variable refer to? What is the name for a programming construct that repeats a block of code while a condition is true? Which of the following best describes Loop? Identify the correct concept described as: a reusable block of code that performs a specific task and can be c... Function is best defined as which of the following? A technique where a function calls itself to solve smaller instances of a problem. What is this concept called... Choose the correct description of Recursion. Which of the following best names the concept in which a classification that specifies what kind of value a va... What is the function or purpose of Data type? The concept in which the process of translating source code written in a high-level language into machine code... Identify the correct definition of Compilation. What term describes the following? the process of executing source code line by line without producing a separ... In computer science, Interpretation refers to which of the following? Which Java access modifier allows visibility only within the same class?