Home / Study library / Programming in C / End Term · May 2026 Programming in C · End Term · May 2026 · FN
Programming in C · End Term · May 2026 FN
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 25 published solutions
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24 Q25 Q26
Question 2 MCQ · 3.0 marks Which of the following components is primarily responsible for performing arithmetic and logical
operations in a computer?
6406537372331. Arithmetic Logic Unit (ALU)
6406537372332. Control Unit
6406537372333. Memory Unit
A published solution is not available for this question yet.
Report a correction for Q2
Question 3 MCQ · 3.0 marks A 4-byte integer **0x89ABCDEF** is stored beginning at memory address **4000** in a **Little-Endian**
system.
Which value will be stored at address **4002**?
A published solution is not available for this question yet.
Report a correction for Q3
Question 4 MCQ · 3.0 marks Consider the following C program.
What will be the output?
6406537372377. Garbage value
A published solution is not available for this question yet.
Report a correction for Q4
Question 5 MCQ · 3.0 marks Which of the following statements about **typedef** in C is correct?
6406537372383. It creates a new data type.
6406537372384. It creates an alias (another name) for an existing data type.
6406537372385. It allocates memory for a variable.
6406537372386. It is used only with structures.
A published solution is not available for this question yet.
Report a correction for Q5
Question 6 MCQ · 3.0 marks Which of the following file opening modes allows **reading and writing** while **preserving the**
**existing file contents**?
6406537372389. 6406537372390. 6406537372391. 6406537372392. A published solution is not available for this question yet.
Report a correction for Q6
Question 7 MCQ · 3.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q7
Question 8 NAT · 4.0 marks Consider the following computation steps.
What is the final value stored in **R[3]**?
A published solution is not available for this question yet.
Report a correction for Q8
Question 9 NAT · 4.0 marks Consider the following C program.
(ASCII value of **'B'** is **66**.)
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q9
Question 10 NAT · 4.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q10
Question 11 MCQ · 5.0 marks Consider the following generalized memory computations.
What is the final value stored in **M[3]**?
A published solution is not available for this question yet.
Report a correction for Q11
Question 12 MCQ · 5.0 marks The decimal equivalent of the following **8-bit signed two's complement** number is
A published solution is not available for this question yet.
Report a correction for Q12
Question 13 MCQ · 5.0 marks Consider the following C code.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q13
Question 14 MCQ · 5.0 marks Consider the following recursive function.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q14
Question 15 MCQ · 5.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q15
Question 16 MCQ · 5.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q16
Question 17 MCQ · 4.0 marks Which stage of the C compilation process is responsible for expanding macros and processing
header files?
6406537372346. Preprocessing
A published solution is not available for this question yet.
Report a correction for Q17
Question 18 MCQ · 4.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q18
Question 19 MCQ · 4.0 marks Which preprocessor directive is used to include the contents of another source or header file into
the current program?
6406537372398. 6406537372399. 6406537372400. 6406537372401. A published solution is not available for this question yet.
Report a correction for Q19
Question 20 MCQ · 4.0 marks Consider the following C program.
What will be the output?
6406537372405. Compilation Error
A published solution is not available for this question yet.
Report a correction for Q20
Question 21 MSQ · 3.0 marks Which of the following statements are correct regarding **character encoding**?
6406537372348. ASCII uses 7 bits.
6406537372349. UTF-8 is backward compatible with ASCII.
6406537372350. Every UTF-8 character occupies exactly 8 bits.
6406537372351. Unicode supports a much larger character set than ASCII.
A published solution is not available for this question yet.
Report a correction for Q21
Question 22 NAT · 5.0 marks Consider the following C program.
What will be the output printed on the screen?
A published solution is not available for this question yet.
Report a correction for Q22
Question 23 NAT · 5.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q23
Question 24 NAT · 3.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q24
Question 25 NAT · 3.0 marks Consider the following C program.
What will be the output?
A published solution is not available for this question yet.
Report a correction for Q25
Question 26 MSQ · 5.0 marks Which of the following statements about pointers are correct?
6406537372370. A pointer variable stores the address of another variable.
6406537372371. Pointer arithmetic depends on the data type of the pointer.
6406537372372. Dereferencing a NULL pointer is safe.
6406537372373. Two pointers can point to the same memory location.
A published solution is not available for this question yet.
Report a correction for Q26