Home / Study library / Programming in C / Quiz 1 · May 2024 Programming in C · Quiz 1 · May 2024
Programming in C · Quiz 1 · May 2024
← 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 / 16 published solutions
Q64 Q65 Q66 Q67 Q68 Q69 Q70 Q71 Q72 Q73 Q74 Q75 Q76 Q77 Q78 Q79
Question 64 MSQ · 2.0 marks Select all the correct statements from the below.
6406532786583. Registers are the memory closest to the CPU
6406532786584. Cache can be used to store data that is not frequently accessed.
6406532786585. Main memory is faster than cache memory.
6406532786586. Main memory is slower than the registers.
A published solution is not available for this question yet.
Report a correction for Q64
Question 65 MSQ · 2.0 marks Select all the valid variable names in C.
A published solution is not available for this question yet.
Report a correction for Q65
Question 66 NAT · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q66
Question 67 MCQ · 3.0 marks 6406532786588. Case 1: M[2] = 3, Case 2: M[2] = 2
6406532786589. Case 1: M[2] = -3, Case 2: M[2] = -2
6406532786590. Case 1: M[2] = -2, Case 2: M[2] = 3
6406532786591. Case 1: M[2] = 2, Case 2: M[2] = -3
A published solution is not available for this question yet.
Report a correction for Q67
Question 68 MCQ · 3.0 marks Find the Hexadecimal representation of the word "FAX” in ASCII.
Hint: A - 65(decimal), B - 66, … in ASCII.
6406532786596. 0x46 0x41 0x58
6406532786597. 0x45 0x41 0x57
6406532786598. 0x46 0x31 0x58
6406532786599. 0x44 0x31 0x57
A published solution is not available for this question yet.
Report a correction for Q68
Question 69 MCQ · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q69
Question 70 MCQ · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q70
Question 71 MCQ · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q71
Question 72 MCQ · 2.0 marks Convert the hexadecimal number 0xAC73 to its equivalent binary representation.
6406532786592. 1010 1100 1111 0101
6406532786593. 1100 1100 1111 0101
6406532786594. 1010 1100 0111 0011
6406532786595. 1010 1001 0111 0011
A published solution is not available for this question yet.
Report a correction for Q72
Question 73 MCQ · 4.0 marks Find the minimum number of bits required to represent an instruction set where there are 8
unique instructions and each instruction can take at most 2 operands.
Assume the first operand should be able to represent 64 registers and the second operand should
be able to represent -127 to 127 in signed magnitude form.
A published solution is not available for this question yet.
Report a correction for Q73
Question 74 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q74
Question 75 MCQ · 4.0 marks 6406532786616. 6406532786617. 6406532786618. 6406532786619. A published solution is not available for this question yet.
Report a correction for Q75
Question 76 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q76
Question 77 MCQ · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q77
Question 78 NAT · 2.0 marks A published solution is not available for this question yet.
Report a correction for Q78
Question 79 NAT · 4.0 marks A published solution is not available for this question yet.
Report a correction for Q79