Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

GLOBAL MISSION INTERNATIONAL SCHOOL

Sanskardham campus, Bopal-Ghuma-Sanand Road, Ta. Sanand, Ahmedabad-382115


PERIODIC TEST -1 (2019- 20)

Std : XI Subject: COMPUTER Date: 25/09/19 Marks : 50

Answer Key
Answer the following
Q.1 What is the function of memory ?What are its measuring units ? (2)
A.1 The memory temporarily holds the data and information during processing.
The smallest unit of memory is a byte (8 bits).A byte can store one character in binary
form.Other measuring units are kilobyte equal 2 10 bytes,1024 KB= 1 MB,1024 MB = 1GB,
1024 GB= 1TB

Q.2 What is the difference between RAM and ROM ? (1)


A.2 RAM means Random Access Memory ,Volatile,lost when power is turned off
ROM means Read Only Memory, non-volatile,permanent

Q.3 Write the characteristics of first generation. (2)


A.3 Used Vacuum tube,huge computers that occupied space,costly

Q.4 Write the full form (2)


i) ASCII - American Standard Code for Information and Interchange
ii) ISCII – Indian Standard Code for Information and Interchange

Q.5 Write the two characteristics of First Generation (1)


A.5 Used Vacuum tube,huge computers that occupied space,costly

Q.6Write the difference between Analog Computer and Digital Computer (1)
A.6 Analog Computer- works on continuously aspects of physical phenomenon such as fluid
pressure,mechanical motion and electrical quantities.change current voltage ex. thermometer

Digital – works on 0 and 1 0 ab)means false 1 means true(presence) used in business and
scientific

Q.7 What is the purpose of language processor (1)


A.7 Translate high level to low level language – convert source code to object code.

Q. 8How can the software be classified? Name at least one software in each of the
categories. (2)
A.8 System Software – Application Software
System Software – O/S and Language Processor
Application Software – Packages ,Utilities

1
Q.9 Write the difference between RISC and CISC (2)
RISC stands for 'Reduced Instruction Set Computer Whereas, CISC stands for Complex
Instruction Set Computer. The RISC processors have a smaller set of instructions with few
addressing nodes. The CISC processors have a larger set of instructions with many addressing
nodes.

Q.10 Write the use of Cache memory. (1)


Cache memory is an extremely fast memory type that acts as a buffer between RAM and
the CPU. ... Cache memory is used to reduce the average time to access data from the
Main memory. The cache is a smaller and faster memory which stores copies of the data from
frequently used main memory locations.

Q.11 Convert the binary number to decimal - 10010- Ans -18 (1)

Q.12 Convert the binary number to octal - 111010 Ans-72 (1)

Q.13 Convert the binary number to hexadecimal - 1001101101 – Ans-26D (1)

Q.14 Convert the decimal number to hexadecimal - 158 Ans-9E (1)

Q,15 Convert the hexadecimal to octal - 39AC Ans-34654 (1)

Q.16 Convert the octal number to binary – 123 Ans-1010011 (1)

Q.17What are the limitations of python programming language ? (2)


Ans- Not the fastest language , Lesser Libraries than C,Java,Perls

Q.18 What is None literal in Python (2)


Ans- Special literal called None.used to indicate something that has not yet been created in
simple words or absence of value.Used to indicate the end of lists in Python.

Q.19 What is the difference between interactive mode and script mode in Python? (2)
A. Interactive mode- instructions are given in front of Python prompt
Script mode- Store in a file with extension .py

Q.20 What are immutable and an mutable typed? List immutable and mutable types of
Python (4)
Ans- mutable object can be changed after it is created, and an immutable object can't. Objects
of built-in types like (int, float, bool, str, tuple, unicode) are immutable. Objects of built-in
types like (list, set, dict) are mutable. Custom classes are generally mutable.

Q.21 Write corresponding python expression (4)


i) p+q/(r+s)4- p+q/math.pow((r+s),4)) ii) c2+d2+e2=c*c+d*d+e*
iii) |e2-x| - math.fabs(math.exp(2)-x) iv) 2-ye2y +4y = 2-y*math.exp(2*y)+4*y

2
Q.22 Write a program to find maximum of three numbers using nested if else statement (3)
# Greates number of the three numbers
x=y=z=0
x=int(input("Enter a number"))
y=int(input("Enter a number"))
z=int(input("Enter a number"))
max=x
if y>max:
max=y
if z>max:
max=z
print("Largest Number is",max)

Q.23 What will be the output (2)


i) 12//12 = 1 ii) 12%2 =0 iii) 16.0//6 =2.66 iv) 18.0//9=2.0

Q.24 Write a program to check whether the entered number by user is even or odd (2)
A.24
# Find odd or even number
n=int(input("Enter a number"))
if(n%2==0):
print("Even number")
else:
print("Odd number")

Q.25 Write a program using for loop (4)


i) 1 ii) * * * *
12 ***
123 **
1 234 *
i)for i in range(0,5):
for j in range (0,i):
print(j,end="")
print()

ii) for i in range(4):


for j in range (4,i,-1):
print("*",end="")
print()

Q.26Explain following mathematical function with example (4)


i) sqrt = math.sqrt(num) – The sqrt function returns the square root of num.
ii) ceil = math.ceil(num) – The ceil function returns the smallest integer not less than num

You might also like