Krishna Institute of Management & Technology, Moradabad

Computer Concept and Programming in C

Assignment-l

 

Q1. What is an Operating System? Give examples.

Q2. Write short notes on the following

            (a) Windows                 (b) Linux           (c) UNIX

Q3. Explain the functions and types of an Operating System.

Q4. What is an algorithm? Explain its termination and correctness.

Q5. Write an algorithm and draw flow charts for the following:

(a) to check an integer for even or odd

(b) for finding smallest of three numbers

(c) to find the GCD (greatest common divisor) of two numbers

(d) for checking leap year

Q6. What is step-wise refinement? Explain by  a suitable example.

Q7. Explain concept of structured programming.

Q8. What is need of data structure and algorithms?

Q9. What is program maintenance? Explain.

QI0. Discuss Programming Environment. Also explain writing and execution a C program.

Q11. Explain in detail the various attributes of a good program.

Q12. Discuss about the different types of Programming Language

Q13. What is use of High Level Programming Language for the Systematic development of programs?

Q14. Write Short notes on the following :-

(a) Digital Computer      (b) Top-down development        (c) Data structures

Q15. Write a short note on the High Level Language

(a) BASIC        (b) COBOL      (c) FORTAN    (d) PASCAL    (e) C++

Q 16. What is meant by the base of a number system? Write bases of Binary, Octal, Decimal and Hexadecimal number systems.

Q17. Convert the following decimal numbers into their binary equivalents.

(i) 0.875(ii) 0.52 (iii) 25.25 ( iv) 0.875 (v )0.752

Q18. Convert the following  number into their  binary equivalents.

            (i) (428.10AB)16            (ii) (704.06)8      (iii) (43.875)10

Q 19. Convert the following decimal number into their hexadecimal and octal equivalents:

            (i) 383.125        (ii) 3370.75        (iii) 7694

Q20.  Convert the following binary number into their octal and hexadecimal equivalents:

            (i) 1001100101.110101101     (ii) 1000011.01101 (iii) 101011110001.00001