Problem solving through Programming In C Assignment 2021

Problem solving through Programming In C Assignment 2021

 NPTEL Problem solving through Programming In C Assignment 1

1. Set of instructions to be provided to an electronic machine to perform a task is called
 
 
 
 
a) Programming
2. Compiler helps in the translation from
 
 
 
 
c) High-level language to machine level language

3. The ALU unit of computer

 
 
 
 
c) Can perform both arithmetic and logical operations
4 . What type of device is computer printer?
 
 
 
 
c) A process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer
6. When we write X=10 and Y=X, which of the following memory assignment is correct
 
 
 
 
b) X and Y will have two distinct locations and 10 will be stored in both.
7. The input N from the user is 6. The output of the following algorithm is
NPTEL educationtrick.com

NPTEL educationtrick.com

 
 
 
 
c) 1
8. What will be the output of the algorithm given below?
NPTEL Educationtrick.com

NPTEL Educationtrick.com

 
 
 
 
d) Compilation error
The following algorithm is used to find a number X is even or odd. What will be the content of the empty box?
NPTEL educationtrick.com

NPTEL educationtrick.com

 
 
 
 
d) X%2=0?
10. X is an integer (X=2648). The print value of Y of the flowchart below is
NPTEL educationtrick.com

NPTEL educationtrick.com

 
 
 
 
c) 8462
Click to rate this post!
[Total: 0 Average: 0]

We will be happy to hear your thoughts

Leave a reply

EducationTrick
Logo
Enable registration in settings - general