Back - Home email: vivekdubey22@gmail.com (w) 9826424484

C Language Video

SOLUTION OF MID SEM TEST-I

 

CLASS: - I YEAR SECTION: CS-B, H SEM:-I

TIME- 01 Hr    

SUBJECT NAME: PRINCIPLE OF PROGRAMMING IN C (BTCS-104)

MAX MARKS: 20

                                              

NOTE :-

1. Draw diagram wherever is necessary.

2. Assume value if required.

 

Q.  No.

Question

Max Marks

Q.1

Define Structure of C program and explain the use of header files.

Or

Explain functions with an example : scanf(), printf(), pow(), getch()

 

4

Q.2

Differentiate between

a)      Compiler & Interpreter

b)      Linker & Loader

 

4

Q.3

Explain

a)      Flow Chart with Example

b)      Different Data Types

 

4

Q.4

Analyze and write a program to display series: 0 1 1 2 3 5 8 13 21 34 55 89.

OR

Explain Looping Concept. Write Syntax of all three looping statements.

 

4

Q.5

A number is entered by user. Write and algorithm to check whether the given number is Armstrong number or not. A number is Armstrong if it is equal the sum of cube of its digits.

OR

Explain Branching Concept. Write syntax of Nesting and Ladder Branching statements.

 

4

 

Back - Home email: vivekdubey22@gmail.com (w) 9826424484

C Language Video