Steps involved in executing c program


Question 1:

a) Illustrate the term Algorithm? What is the use of flowchart?
b) What are the various steps followed in the program development?

Question 2:

a) Draw a Flowchart for the given:

The average score for 3 tests has to be greater than 80 for a candidate to qualify for the interview. Represent the conditional logic for generating rejection letters for all candidates who do not get the required average and interview call letters for the others.

b) Name and explain any four basic data types in C.

Question 3:

a) Write the different steps involved in executing a C program and describe it with the help of a flow chart.    
b) What are constants? Describe any four basic types of constants.

Question 4:

a) What do you mean by the term Flowchart? Describe the different symbols used in a Flowchart?
b) What is an operator? Explain several different types of operators which are included with in the C language with an illustration each.

Question 5:

a) Distinguish between:

i) Algorithm and flowchart.
ii) Syntax error and Logical error.

b) Describe the following and illustrate it with an illustration each

i) Increment and Decrement operator.
ii) Conditional operator.

Question 6:

a) What are the general characteristics of C? Give and describe the structure of a C program?
b) What are generally used input/output functions in C? How are they accessed?

Question 7:

a) What is an expression? What type of information is represented by an expression?

b)

i) Describe the working of Unary Operator with illustration.
ii) Describe the working of Binary Operator with illustration.

Question 8:

a) Describe the working of assignment Operator with illustration.
b) Describe the working of ternary Operator with illustration.

Question 9:

a) Explain the two different forms of the if-else statement. How do they differ?
b) Compare the use of if-else statement with use of the ?: operator. In particular, in what way can the?: operator be used in place of an if-else statement?

Question 10:

a) Describe the following and illustrate it with an illustration each.

•    Bitwise operator.           
•    Assignment operator.

b) Admission to a professional course is subject to the given conditions:

i) Marks in math >= 60.       
ii) Marks in physics >= 50.
iii) Marks in chemistry >= 40.           
iv) Total in all three subjects >= 200.

Given the marks in three subjects, write a C program to process the application to determine whether eligible or not.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Steps involved in executing c program
Reference No:- TGS03562

Expected delivery within 24 Hours