Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT "DEGREE LEVEL : PROGRAMMING IN C (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Select the correct statement about peripherals in a computer.
Solution
Identify the option that arranges the following memory types in typical descending order of size (from largest to smallest).
Solution
Which of the following best describes the C programming language?
Solution
Solution
Consider the computations given below using the generalized memory model.
1. M[0] ← x
2. M[1] ← y
3. M[2] ← M[0] * M[0]
4. M[3] ← M[1] * M[1]
5. M[4] ← 2 * M[0] * M[1]
6. M[5] ← M[2] + M[4]
7. M[6] ← M[3] - M[4]
8. M[6] ← M[5] + M[6]
What is the value of M[6] at the end of the execution?
1. M[0] ← x
2. M[1] ← y
3. M[2] ← M[0] * M[0]
4. M[3] ← M[1] * M[1]
5. M[4] ← 2 * M[0] * M[1]
6. M[5] ← M[2] + M[4]
7. M[6] ← M[3] - M[4]
8. M[6] ← M[5] + M[6]
What is the value of M[6] at the end of the execution?
Solution
Solution
A CPU architecture features an instruction set with 30 unique instructions. Each instruction consistently uses three operands. Every operand needs to address any of 256 distinct general- purpose registers. What is the minimum number of bits necessary to encode one such instruction?
Solution
Solution
Solution
Solution
Solution
Solution
Which of the following is/are valid C variable names?
Solution
Solution
Solution
Solution
Solution
Shape
Thickness [ / ]
3
All colors