Skip to main content
Q.1. What is the primary role of pseudocode in programming?
A. To represent the program's logic in a clear and simple way ✅
B. To convert the program into machine language
C. To manage data storage during program execution
D. To create the executable code that computers run
The primary role of pseudocode is to bridge the gap between human thought and computer code by planning program
logic in plain language.
It helps programmers plan algorithms and understand the flow of a program before writing actual code in a
programming language.
Beltron - 2025
Q.2. Which of the following statement best defines a formal
parameter in programming ?
A. A constant defined outside the function
B. A temporary value passed by reference only
C. A value assigned to a global variable
D. A variable listed in the function declaration to receive arguments✅
A formal parameter is best defined as a variable declared in a function's definition or signature that acts as a placeholder
to receive input values when the function is called.
Key Identification Rules
🏛 Formal Parameter: The placeholder variable written in the function's declaration/definition (e.g., x in void myFunction(int x)).
🚀 Actual Parameter (Argument): The real value, variable, or expression passed to the function during invocation (e.g., 5 in
myFunction(5))
Beltron - 2025
Q.3. _______ Language is also called programming language ?
A. Low Level
B. High Level ✅
C. Operator
D. Machine
High-level languages are commonly called programming languages because they allow programmers to write instructions in a
human-readable form.
Coal India - 2020
Q.4. Which of the following programming language(s) provides
garbage collection automatically ?
A. C++
B. LISP✅
C. C
D. Fortran
High-level languages like Java, Python, C#, JavaScript, Go, and Ruby provide automatic
garbage collection.
ISRO/ BEL - 2007
Q.5. What is the primary role of a variable in a computer program
?
A. Constant value used throughout the program
B. A named area in memory used to store data ✅
C. A symbol used to calculate values
D. A statement that prints messages
The primary role of a variable in a computer program is to act as a named storage location in memory that holds data that can be
changed or reused during program execution.
Key Functions of a Variable
● Stores Data: Holds values like numbers, text, or complex objects in the computer's memory.
● Enables Labeling: Gives a meaningful name to a memory location so developers can easily reference it.
● Allows Modification: Permits the stored value to change dynamically as the program runs.
Beltron - 2025
Q.6. Which statement indicates an action to be performed during
execution of assembled program ?
A. Imperative Statement ✅
B. Declarative statement
C. Directional Statement
D. Compiled statement
The statement that indicates an action to be performed during the execution of an assembled program is an executable
statement (also known as an imperative statement or instruction).
What they do: They translate directly into machine code instructions. The CPU executes these actions at runtime.
Examples: MOV (move data), ADD (addition), JMP (jump to a label), or PUSH (push onto stack).
HTET - 2024
Q.7. What is the primary difference between a CALL instruction and
a JMP instruction in program control ?
A. JMP saves return address automatically
B. CALL saves the return address; JMP does not.✅
C. JMP executes faster than CALL.
D. Compiled statement
The primary difference between a CALL instruction and a JMP (Jump) instruction is how they handle the return
address. A CALL instruction saves the return address onto the stack before transferring control so the program
can later resume where it left off.
In contrast, a JMP instruction permanently redirects execution to a new address without saving any return
information.
Beltron - 2025
Q.8. What is the purpose of the return statement in a function ?
A. To define a function
B. To Pass Address of Pointer to Variable
C. To stop function execution and optionally pass back a result ✅
D. To take input from the user
The primary difference between a CALL instruction and a JMP (Jump) instruction is how they handle the return
address. A CALL instruction saves the return address onto the stack before transferring control so the program
can later resume where it left off.
In contrast, a JMP instruction permanently redirects execution to a new address without saving any return
information.
Beltron - 2025
Q.9. Which programming paradigm emphasizes immutability and
avoids changing state ?
A. Object-oriented programming
B. Functional programming ✅
C. Logic programming
D. Procedural programming
Core Principles
● Immutability: Variables cannot be modified after creation.
● Pure Functions: Identical inputs always yield identical outputs.
● No Side Effects: Functions do not alter outside state.
● First-Class Functions: Functions are treated as data values.
TPSC - 2026
Q.10. Aliasing in the context of programming languages refers to :
A. Multiple variables having the same identifier
B. Multiple use of same variable
C. Multiple variables having the same value
D. Multiple variables having the same location ✅
Aliasing refers to a situation where the same memory location can be accessed through different
names (or variables) in a program.
Modifying data through one alias automatically changes the value for all other aliases, which can lead to
unexpected side effects.
UGC NET - AUG 2016
PYQ - 1 | C Programming | Explore the PYQ -  MCQ On previous year exams