HSSC-II Computer Lectures & Assignments

                                SECTION_B

1.        Separate valid and invalid variable Name form the given variable names?

a123    ,           5hml   ,           cout    ,           c-5      ,           tot_al  ,           main

2.      Differentiate between Relational and logical operators?

3.      Why reserved words cannot be used as variable names?

4.      Write basic structure of C program?

5.      Define the statement #include<iostream>

6.      Why escape sequence is used in C programming?

7.      Briefly Explain Flowchart?

8.      Draw and label flowchart symbols.

9.      Write important steps used in SDLC?

10.   What is thread?

11.     What is purpose of operating system?

12.    Differentiate between if-else and Else-if statement?

13.   Define array and give its advantages in programming?

14.   Define scope of variable?

15.   Write a program that prints even numbers from 1-100 using a while loop.

No comments:

Post a Comment