You are on page 1of 2

School of Engineering – RK University

DEPARTMENT OF COMPUTER ENGINEERING & INFORMATION TECHNOLOGY

Assignment-1
Unit 1: Introduction to Computer System and
Programming

Q.1 What is Computer? Explain its characteristics.


Q.2 Explain the history of Computer.
Q.3 Explain the block diagram of computer in detail.
Q.4. Explain following terms:

 Hardware
 Software
 Operating System

Q.5 What is Input Device? Write down name of any 10 input devices. Draw and explain anyone.
Q.6 What is Output Device? Write down name of any 5 output devices. Draw and explain
anyone.
Q.7 Explain number system.
School of Engineering – RK University
DEPARTMENT OF COMPUTER ENGINEERING & INFORMATION TECHNOLOGY

Assignment-2
Unit 2: Basics of Algorithm

Q.1 What is algorithm? Explain its advantages and disadvantages of an algorithm.


Q.2 Explain characteristics of an algorithm.
Q.3 Write algorithms to perform following:
1. To calculate average of 5 numbers.
2. To calculate simple interest. (SI = P * R * N / 100)
3. To convert feet into inch
4. To input student's basic details and display whole details
5. To input length and breadth of rectangle and find rectangle's area and perimeter. (area=l*b
, perimeter=2*(l+b))
6. To input two numbers and swap their values.
7. To input two numbers and swap their values using third variable.
8. To input number of days and convert into years, weeks and days.
years = days / 365

You might also like