Вы находитесь на странице: 1из 3

KENDRIYA VIDYALAYA JUNAGADH

HALFYEARLY EXAMINATION, CLASS-XI SESSION: 2013-14

SUB-COMPUTER SCIENCE

MAX MARKS: 70 TIME: 3 HRS

Read the questions carefully than answer the questions.

All the Questions are compulsory. Attempt all the questions.

1. (a) Why is binary language often termed as machine language? 1

(b) Identify and discuss characteristics & uses of:-

(i) Microcomputers (ii) Super computers 2

(c) Expand the following:- VLSI, ANURAG 1

2. (a) What are the functions of an operating system? Explain in brief. 2

(b) What is a language processor? Differentiate between compiler and interpreter. 1

(c) What is job scheduling or CPU scheduling? Differentiate between preemptive and non-preemptive scheduling.
3

3. (a) Convert the following:- 1/2x6= 3

(i) (27.25)10 = ( ? )2 (ii) (84)10= ( ? )2

(iii) ( 11001)2 = (?)10 (iv) ( 10011101)2 = (?)10

(v) (384C)16= (?)10 (vi) (7FD6)16= (?)10

(b) Find the eight bit two’s complement form of the following decimal numbers:- 1x2= 2

(i) -13 (ii) -101

(c) What do you mean by LSD & MSD? Elaborate. 1

(d) Convert the following: 1/2x2=1

(i) ( 11011110101110)2= (?)16 (ii) (11111011110101) 2= (?)8

4. (a) What are different types of monitors? 1

(b) What is the difference between CISC and RISC computers? 2


(c) Differentiate between L1 and L2 cache memory. 1

(d) Name some major ports found in CPU of a computer system. 1

(e) What are the shortcomings of Procedural and Modular Programming Approaches? 2

(f) Explain in brief the basic concepts of OOP. 2

5. (a) What is the difference between a keyword and an identifier? 2

(b) What are Literals? Explain all kind of literals provided in C++. 4

(c) Write a C++ program to enter radius of a circle and prints its area. 3

(d) What is the role of compiler in C++? Explain all type of Errors in C++ with suitable examples. 3

(e) What are data types? Discuss fundamental data types of C++. 3

(f) Which header file(s) are essentially required to be included to run/execute the following C++ code. 2

void main()

int last=25;

for(int c=9;c<=last;c++)

cout<<c<<”:”<<sqrt(c)<<endl;

6. (a) What are data type modifiers? Explain all kind of modifiers and their significance. 2

(b) Differentiate between an array and a structure. 2

(c) What do you understand by dynamic initialization of a variable? Explain using a suitable example program

about normal and dynamic variable initialization. 2

(d) Differentiate between implicit and explicit type conversion using suitable examples. 2

(e) Distinguish between unary and binary arithmetic operators. 1

(f) Write a C++ Program that accepts 3 integers and find the largest among those integers using logical and

relational operators. 4
(g) Differentiate between postfix and prefix version of increment & decrement operators with suitable 2

examples.

7. (a) Write a C++ program that accepts an integer number between 5 to 20 and prints the multiplication table

of this number. 4

(b) Write a C++ program to input Principal amount and Time. If Time is more than 10 years calculate the

Simple Interest with rate 8%, otherwise calculate it with rate 12% per Annum. 3

(c) Find the output of the following program code:- 2

#include<iostream.h>

#include<conio.h>

void main()

int i=100;

while(i>0)

{ cout<<i-10;<<endl;

getch();

(d) Write a C++ program that accepts an integer and check whether it is even or odd. 2

(e) What will be the output of following code after compilation? 1

int ch=20;

cout<<++ch<<”\n”<<ch;

Вам также может понравиться