Sunday, August 28, 2016

Assignment No: 1

1. What are the characteristics of an electronic computer? Discuss its applications.
2. Explain the memory hierarchy of computer.
3. How can you classify computers on the basis of principle of working? Explain.
4. Classify the OS into different types based on their processing capability.
5. What is a translator? What type of software is it?
6. Write down any four characteristics of a good programming language.
7. Differentiate between the following:
   a. Compiler and Interpreter
   b. High-level and Low-level languages
   c. Hardware and Software
8. What are Input / Output devices? Discuss any two of them.
9. What is an operating system? How does it act as a resource manager? Briefly explain the terms multiprogramming and multithreading.
10.Explain the compilation and execution of a program written in high-level language.
11.Convert the following:
   i.   (311.55)10 = ( )2
   ii.  (100)10 = ( )8
   iii. (BC)16 + (DE)16 = ( )16
   iv.  (45)6 = ( )3
   v.   (AB4F.C1)16 = ( )10
   vi.  (AC01.2DB)16 = ( )8
   vii. (.11)2 = ( )8
   viii.(1011.01)8 = ( )10
   ix.  (459.25)10 = ( )2
   x.   (11001011.11)2 = ( )8
   xi.  (ABC)16 + (AB)16 = ( )8
   xii. (BABA)14 - (CAB)14 = ( )6
   xiii.(-49)10 + (29)10 = ( )2
   xiv. (.825)10 = ( )8
   xv.  (.42)10 = ( )15

12.Write an algorithm and draw a flowchart to convert the given time in seconds into its equivalent time in hours, minutes and seconds as output.
    (e.g. 7322 seconds is equivalent to 2 hours 2 minutes 2 seconds)
13.Write an algorithm and draw a flowchart to find the prime factors of a number given by the user.
14.Write an algorithm and draw a flowchart to compute the sum of squares of integers from 1 to 50.
15.Write an algorithm and draw a flowchart to print the sum of the following series:
    1 + 1/2! + 1/3! + … up to n terms where n is given by the user.