Please do not message repeatedly. You will get the answer before the deadline.

[Week 1-12] NPTEL Problem Solving Through Programming In C Assignment Answers 2024
    About Lesson

    1. CPU comprises of

    a) ALU- Arithmetic and Logic Unit
    b) Registers
    c) Control unit
    d) All of the above

    Answer :- D

    2. Input device/s of a computer

    a) Printer
    b) Speaker
    c) Joystick
    d) Monitor

    Answer :- C

    3. Choose the correct statements from the following
    i) In high-level language, testing and debugging a program is difficult than assembly language.
    ii) C programs are highly portable on any type of operating system platform.
    iii) A flowchart is a visual representation of the sequence of steps for solving a problem.
     iv) The role of a compiler is to translate source program statements to decimal codes.

    a) (i) and (ii)
    b) (ii) and (iii)
    c) (i), (ii), and (iii)
    d) (ii), (iii), and (iv)

    Answer :- B

    4. How many bits are there in a byte?

    a) 2
    b) 4
    c) 8
    d) 16

    Answer :- C

    5.

    a) 4
    b) 8
    c) 16
    d) 20

    Answer :- C

    6.

    a) 21
    b) 28
    c) 30
    d) 40

    Answer :- B

    7.

    a) a=4,b=6
    b) a=6,b=4
    c) a=10,b=2
    d) a=2,b=10

    Answer :- B

    8. The program which translates high level program into its equivalent machine language program is called

    a) a translator
    b) a language processor
    c) a converter
    d) None of the above

    Answer :- A

    9. An interpreter reads the source code of a program

    a) one line at a time
    b) two line at a time
    c) complete program in one stroke
    d) None of these

    Answer :- A

    10. Flowchart and algorithms are used for

    a) Easy testing and debugging
    b) Better programming
    c) Efficient coding
    d) All of these

    Answer :- D

    0% Complete