MauryaHub PYQ Practice

cs3005_2024T3_Q1_NA.pdf

Programming in C · Quiz 1 · Sep 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.

Question 56 MSQ · 2.0 marks

Select all the correct statements from the below.
  1. RAM is volatile memory
  2. ROM is faster than RAM
  3. Hard drives provide non-volatile storage
  4. CPU cache is slower than main memory

A published solution is not available for this question yet.

Question 57 MCQ · 2.0 marks

Convert the following hexadecimal number to its equivalent binary representation. B5E9
  1. 1011 0101 1110 1000
  2. 1101 0101 1110 1001
  3. 1011 0101 1110 1001
  4. 1011 0111 1110 1001

A published solution is not available for this question yet.

Question 58 MCQ · 2.0 marks

[[IMAGE:b6b7694525bd034d_3_0]]
Source diagram or notation
  1. 3
  2. 4
  3. 5
  4. 6

A published solution is not available for this question yet.

Question 59 MCQ · 3.0 marks

[[IMAGE:b6b7694525bd034d_3_1]]
Source diagram or notation
  1. [[IMAGE:b6b7694525bd034d_3_2]]
    Source diagram or notation
  2. [[IMAGE:b6b7694525bd034d_3_3]]
    Source diagram or notation
  3. [[IMAGE:b6b7694525bd034d_4_4]]
    Source diagram or notation
  4. [[IMAGE:b6b7694525bd034d_4_5]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 60 MCQ · 3.0 marks

Find the Hexadecimal representation of the word “CAT” in ASCII. Hint: A - 65(decimal), B - 66, … in ASCII.
  1. 0x43 0x41 0x54
  2. 0x42 0x40 0x53
  3. 0x43 0x61 0x54
  4. 0x42 0x41 0x53

A published solution is not available for this question yet.

Question 61 MCQ · 3.0 marks

Which of the following expression represent the order in which the expression 8 - 2 * 3 + 4 / 2 is evaluated in C?
  1. (8 - 2) * (3 + (4 / 2))
  2. 8 - (2 * 3) + (4 / 2)
  3. ((8 - 2) * 3) + (4 / 2)
  4. 8 - (2 * (3 + 4) / 2)

A published solution is not available for this question yet.

Question 62 MCQ · 3.0 marks

[[IMAGE:b6b7694525bd034d_5_6]]
Source diagram or notation
  1. H
  2. g
  3. E
  4. f

A published solution is not available for this question yet.

Question 63 MCQ · 3.0 marks

[[IMAGE:b6b7694525bd034d_5_7]]
Source diagram or notation
  1. 121
  2. 131
  3. 120
  4. 231

A published solution is not available for this question yet.

Question 64 MCQ · 3.0 marks

[[IMAGE:b6b7694525bd034d_6_8]]
Source diagram or notation
  1. ac
  2. c
  3. bd
  4. d

A published solution is not available for this question yet.

Question 65 MCQ · 4.0 marks

Find the minimum number of bits required to represent an instruction set where there are 16 unique instructions and each instruction can take at most 2 operands. Assume the first operand should be able to represent 32 registers and the second operand should be able to represent -63 to 63 in signed magnitude form.
  1. 16
  2. 17
  3. 18
  4. 19

A published solution is not available for this question yet.

Question 66 MCQ · 4.0 marks

[[IMAGE:b6b7694525bd034d_7_9]]
Source diagram or notation
  1. 4
  2. 5
  3. 6
  4. 7

A published solution is not available for this question yet.

Question 67 NAT · 2.0 marks

[[IMAGE:b6b7694525bd034d_7_10]]
Source diagram or notation

    A published solution is not available for this question yet.

    Question 68 NAT · 2.0 marks

    What is the minimum number of bits needed to represent -6 to 7 using signed magnitude representation?

      A published solution is not available for this question yet.

      Question 69 NAT · 2.0 marks

      [[IMAGE:b6b7694525bd034d_8_11]]
      Source diagram or notation

        A published solution is not available for this question yet.

        Question 70 NAT · 2.0 marks

        [[IMAGE:b6b7694525bd034d_9_12]]
        Source diagram or notation

          A published solution is not available for this question yet.

          Question 71 NAT · 3.0 marks

          [[IMAGE:b6b7694525bd034d_9_13]]
          Source diagram or notation

            A published solution is not available for this question yet.

            Question 72 NAT · 3.0 marks

            [[IMAGE:b6b7694525bd034d_10_14]]
            Source diagram or notation

              A published solution is not available for this question yet.

              Question 73 NAT · 4.0 marks

              [[IMAGE:b6b7694525bd034d_11_15]]
              Source diagram or notation

                A published solution is not available for this question yet.