[Week 1] NPTEL Problem Solving Through Programming In C Assignment Answers 2024

Join Our WhatsApp Group Join Now
Join Us On Telegram Join Now

NPTEL Problem Solving Through Programming In C Week 1 Assignment Answers 2024

1. CPU comprises of

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

Answer :- For Answer Click Here

2. Input device/s of a computer

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

Answer :- For Answer Click Here

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 :- 

4. How many bits are there in a byte?

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

Answer :- 

5.

Screenshot 2024 01 20 201419

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

Answer :- 

6.

Screenshot 2024 01 20 201541

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

Answer :- For Answer Click Here

7.

Screenshot 2024 01 20 202144

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

Answer :- 

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 :- 

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 :- 

10. Flowchart and algorithms are used for

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

Answer :- For Answer Click Here

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top