0% found this document useful (0 votes)
18 views6 pages

Assignmentq1 2

Assignment questions

Uploaded by

Lazeena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views6 pages

Assignmentq1 2

Assignment questions

Uploaded by

Lazeena
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Assignments question for c programming

Chapter 1
1. What is a computer? Who is considered as the Father of computer and
why?
2. Discuss the basic operations performed by computers.
3. Discuss the characteristics features of computers.
4. With neat diagram explain basic organization of computer system.
5. What is the need of number system in computers?
6. What are different types of number systems?
7. Define Binary number systems with examples.
8. Define Octal number system with examples.
9. Define Hexadecimal number system with example.
10. Convert the following Binary numbers to Decimal number
a. 10011101 d. 11100101
b. 10110110 e. 10101010
c. 10110111 f. 10111010
11.Convert the following Decimal numbers to Binary number
a. 2101 b. 1587 c. 1988 d. 5214 e. 4562 f.1475
12. Convert the following Octal numbers to Binary number
a. 2154 b. 5124 c. 135 d. 1452 e. 142564
f. 320142
13. Convert the following Binary numbers to Octal number
a. 101010 d. 1001010
b. 11001101 e. 10101011
c. 1011100 f. 1011011
14. Convert the following Hexadecimal numbers to Binary number
a. B2B b. 14CF6 c. ABCDE d. EA2 e. 12C5 f. B2C
15. Convert the following Binary numbers to Hexadecimal number
a. 101101 b. 100100 c. 100110 d. 101101 e. 101110 f. 110110
16. Convert the following Octal numbers to Decimal number
a. 542 b. 235 c. 354 d. 412
e. 125 f. 625
17. Convert the following Decimal numbers to Decimal number
a. 10101001 b. 101011 c. 1011010 d. 1011101
e.11011010 f. 11010100

18. What is software? How do you classify them?


19. What is system software? Explain different types of system software.
20. What do you mean by application software? Give examples.
21. What is an Operating system?
22. Define: Compliers, Interpreter, Assembler.
23. Mention the advantages and disadvantages of the
a. Assembly Language
b. High level Language
c. Machine Level Language
24. Write a note on
a. Interpreter c. Assembler
b. Compiler
25. Explain firmware and middleware in detail.
Chapter 2
1.Explain the different steps involved in solving a problem by the computer.
2. What is an algorithm? Explain its salient features.

3. What if flowchart? Explain in detail.

4. Differentiate between algorithm and flowchart

5. Differentiate between code and pseudocode.

6. Write an algorithm and flowchart to check largest of three numbers.

7. Write an algorithm and flowchart to reversing the digits of an integer.

8. Write an algorithm and flowchart to GCD of two integers.

9. Write an algorithm and flowchart to generate prime numbers.

10. Write an algorithm and flowchart to compute n Fibonacci numbers.

11. Write an algorithm and flowchart to find the average of marks obtained in three tests.

12. Write an algorithm and flowchart to compute the area and volume of a cube.

13. Write an algorithm and flowchart to compute area and circumference of circle.

14. Write an algorithm and flowchart to compute area of triangle.

15. Write an algorithm and flowchart to compute area of rectangle.

16. Write an algorithm and flowchart to compute area of square.

17. Write down the salient features of C language.

18. List down the applications of C language.

19. Write and explain the structure of C program with example.

20. Explain the steps involved in creating and executing C program.

21. Explain the steps involved in compiling and executing a C program.

22. Write a C program to print your name .

23. Write a note on c tokens.

24. Define - keywords, identifiers, constants, and variables; Data types with examples.

25. Discuss declaration and initialization of variables in c program.

26. Define and classify constants.

27. List the rules for defining the valid identifiers in C.

28. List the rules for defining the valid variables in C.

29. Define and explain different types of data types.

30. what is the need for backslash constants?


31. What are symbolic constants? How they are defined? Explain with an example.

32. What are built in datatypes.

33. explain integer constants and floating-point constants.

Chapter 3
1.

You might also like