WEEK: 0 Assignment 0 NPTEL Problem Solving through Programming in C (Jan 27) 2020 solutions


PROBLEM SOLVING THROUGH PROGRAMMING IN C.

By Prof. ANUPAM BASU


                               ASSIGNMENT 0


 1.Which among the following is the most complete definition of Programming?
 a)  Programming is a process to solve any logical problems.
 b)  Programming is a process to solve any numerical problem.
 c)  Programming is a process to solve any real life problems.
 d) Programming is the process of taking an algorithm and encoding it into a 
    notation (using a programming language),so that it can be executed by a computer.

2.Which of the following controls the way in which the computer system works and give means by which users can interact with the computer?
 a)  The motherboard
 b)  The operating system
 c)  The application software
 d)  The RAM

3.CPU consists of
 a)  ALU, Control Unit
 b)  ALU, Main memory, Control Unit
 c)  ALU, monitor, Registers
 d)  ALU, Control Unit, Hard Disk

4.C was developed by
 a)  Alan Turing
 b)  Charles Babbage
 c)  Ada Lovelace
 d)  Dennis Ritchie

5.C is-
 a)  General-purpose programming language
 b)  Domain-specific programming language
 c)  Page description programming language
 d)  None of the above

6.The relation between bit and byte in digital logic is
 a)  1 byte = 10 bits
 b)  1 byte = 16 bits
 c)  1 byte = 8 bits
 d)  1 byte = 2 bits

7.Which of the following is not a programming language?
 a)  C
 b)  Unix
 c)  Java
 d)  Python

8.The binary AND operation of the numbers “100101” and “110011” results (in decimal)
 a)  100001
 b)  2
 c)  33
 d)  63

9.Which of the following is not an input device of computer?
 a)  Printer
 b)  Mouse
 c)  Keyboard
 d)  Joystick

10.The process through which an user can find error(s) in a program is called
 a)  Compiling
 b)  Searching
 c)  Debugging
 d) Processing



Disclaimer: Here you can find all nptel assignment solutions related to CS stream.These may help you for your assignment.The answers are only for verification.You cannot copy these directly from the post(code of conduct of NPTEL).These is not 100%  correct solutions.

No comments:

Post a Comment

If you have any problems related to solutions or any concept please let me know.

Copyright (c) 2020 Custom Programs All Right Reserved

Pages