0% found this document useful (0 votes)
3 views

Assignment 01

Uploaded by

Aaditya Chauhan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Assignment 01

Uploaded by

Aaditya Chauhan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Assignment: 01

Programming for Problem Solving (BCS-101)

Section A (2 Marks each)

Q.1. Which types of errors are detected by the compiler?


Q.2. Write the full form of RAM and ROM.
Q.3 1Kilo Byte = ........................ Bytes
Q.4 Distinguish between int main( ) and void main( ).
Q.5 Differentiate between compiler and interpreter?

Section B (10 Marks each)

Q.6 Differentiate between all the computer/programming languages (High level,


Low level, Assembly language).

Q.7 Define digital computer? Draw the block diagram of digital computer and
explain all the functional components of it.

Q.8 What is an operating system? What are the various functions of an operating
system? What are the types of Operating system?

Q.9 Give the general structure/layout of the C program. Write a program to find a
factorial of a given number and draw a flow chart.

Q.10 Write short notes on the following-

(a) Compiler
(b) Interpreter
(c) Assembler
(d) Linker
(e) Loader
(f) Memory
Q.11 What is Flow-chart? What are the basic symbols used in Flow-chart? What are
the advantages and limitations of Flow-chart? Draw the flowchart to find the
largest among three numbers.

Q.12 What is an algorithm? What are the characteristics of algorithm? Write an


algorithm and draw the flowchart to find out the roots of a quadratic equation.

Q.13 If the marks obtained by a student in 5 different subjects are input through
the keyboard, write a program to find out the aggregate marks and percentage
marks obtained by the student. Assume that the maximum marks that can be
obtained by a student in each subject is 100.

Q.14 Any integer is input through the keyboard. Write a program to find out
whether it is an odd number or even number.

Q-15. What is Data type? Explain all the datatypes available in C language ,
size in memory ,format specifier and range.

You might also like