1. Define programming language. Explain its types. [8]
  2. Define control structure. Explain its types with flowcharts. [5]
  3. Define language processor. Explain its types. [5]

<aside> 💡

C-Programming section.

</aside>

  1. Define operator. Explain its types. [5]
  2. Differentiate between entry and exit control loop with program example. [5]
  3. Define string. Explain any four string handling function used in C. [8]
  4. Write a C program to check whether given number is divisible by 5 and 7 or not. [5]
  5. Write a C program to generate Fibonacci series i.e. 0 1 1 2 3 … [5]
  6. Write a C program to check whether given number is palindrome or not. [5]
  7. Write a C program to enter salary of 500 employee and find the average salary. [5]
  8. Write a C program to enter 4X4 matrix and find sum of its elements. [5]
  9. Write a C program to enter 10 number and find the greatest. [8]
  10. Write a C program that read two 2X2 matrices and perform matrix addition. [8]

Introduction:

As we know every computerized device does not work by itself. They needed to be given some sort of command that makes computer work. These commands helps to instruct computer and program specific action required by the user. Since the command are given in the form of computer language, we need programming language are used to write the set of instruction which commands the computer to perform certain action collectively called programs. These programs are again integrated in order to make a complete software. Simply software is the collection of different interrelated program which performs specific function.

Program Written in any type of programming language are not understood by the computer hence we need some sort of language translator or processor such as assembler, complier and interpreter which has the basic function of converting program written in any type of language into machine level language.

The program written by the programmer is known as source program. After converting it becomes program.

Qualities of good programs.

  1. It should be easily understood.