Professional Documents
Culture Documents
Abacus Polytechnic College Total Marks: 50 Time 2:00 Hrs
Abacus Polytechnic College Total Marks: 50 Time 2:00 Hrs
Total Marks: 50
Time 2:00
Hrs
Q2.
i.
What is a variable? What are the types of variables, explain with the
help of examples.
ii.
Q3.
What is difference between C and C++? What are the features of C language?
Q4.
Define Computer Language, What are the types of computer languages?
Write a detail note.
Q5.
Define loop? Compare For and While loop, explain using programs.
Q6.
Q7.
Explain the role of header file in C language, also explain the structure of C
program.
1. Write a program which input two numbers from a user and add them, display
result on the screen.
2. Write a program which input, name, rno, and subject marks of a student and
print, student name, rno , and total obtained marks on a screen.
3. Write a program to make a factorial of a given number.
4. Write a program that reads age in years and calculate age in days.
5. Write a program to make a sum of series from 1 to 10.