Creating and running programs in c


Question 1:

a) What do you mean by algorithm with its characteristics.
b) What do you mean by flowchart? Describe the different symbols used in a flowchart.

Question 2: What are the different steps involved in creating and running programs?

Question 3: Write an algorithm to print out all the prime numbers between 1 and n.

Question 4: List out the basic data types, their sizes and range of values supported by 'C' language.

Question 5: Explain about formatted input and output functions in C.

Question 6: Describe about the operators in C.

Question 7: Describe the structure of a C program.

Question 8: Write general forms of:

a. if statement
b. if-else statement
c. Nested if statement
d. else-if ladder
e. switch statement

Question 9:

a) What is a loop? Write the syntax of a while loop.
b) Write a C program to print first n numbers along with their squares.

Question 10: Describe about jump statements (break, continue & goto).

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Creating and running programs in c
Reference No:- TGS03322

Now Priced at $70 (50% Discount)

Recommended (90%)

Rated (4.3/5)