0% found this document useful (0 votes)
41 views1 page

POP Assignment 1

This document contains instructions for a programming assignment in C involving basic concepts. It asks the student to define a computer and its input/output devices, explain generations of computers and the basic structure of a C program. It also requests programs to calculate sums and areas, and explains data types, operators, constants, variables and statements like printf and scanf in C with examples.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views1 page

POP Assignment 1

This document contains instructions for a programming assignment in C involving basic concepts. It asks the student to define a computer and its input/output devices, explain generations of computers and the basic structure of a C program. It also requests programs to calculate sums and areas, and explains data types, operators, constants, variables and statements like printf and scanf in C with examples.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

POP

Assignment-1

1. Define Computer. Explain the input and output devices of computer

2. List and explain the generations of computer

3. With an example ,Explain the basic structure of C program


4. With the help of syntax and example ,explain printf and scanf statements in C

5. Illustrate a C program using Arithmetic operators for simple Calculators

6. Write a c program to calculate the sum of two numbers

7. Explain Logical operators in a C language with its types

8. Define data types. Explain primitive data types supported by c language with example

9. List and explain the characteristics of computer

10. Define Constant. Explain the rules for constructing constants in c

11. Define token. With example explain declaration and initialization of variables.

12. Write C program to find a. area of triangle

b. Square root of a number

You might also like