
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Prof. Utsav Chattopadhyay gave this assignment for Programming Concepts course at KIIT University. It includes: Difference, Execution, Sequence, Loop, Continue, Return, Statements, Break, Purpose, Functions, Limitations
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

(Units: 1–4)
Course: Programming Concepts (3402) Semester: Spring, 2012 Level: BS (CS) Total Marks: 100 Pass Marks: 50
Note: All questions are compulsory. Each question carries equal marks.
Q. 1 Explain the difference between the following: (a) Editor and the Compiler (b) Source program and the object program
Q. 2 (a) How can you use pseudo code and flow charts to solve different problems related to programming? Explain. (b) Explain the purpose and advantages of using comments in C/C++ Language.
Q. 3 (a) Write a simple program in C/C++ demonstrating the functions of relational operators. (b) Differentiate between syntax errors and logical errors.
Q. 4 (a) Differentiate between Input and Output in C/C++ language. Which libraries and keywords and required for Input and Output in a C/C++ program? (b) Write a simple program in C/C++ demonstrating the functions of assignment and logical operators.
Q. 5 (a) Write a program in C/C++ using nested if statement for calculating the average marks and grades of 5 subjects. (b) Write a program in C/C++ using switch statement for calculating the average marks and grades of 5 subjects.