Https App.oswaalbooks.com Download Sample-qp Subsolution i1664604573lOswaal CBSE Class-11 Computer Science Self Assessment Paper-2
Https App.oswaalbooks.com Download Sample-qp Subsolution i1664604573lOswaal CBSE Class-11 Computer Science Self Assessment Paper-2
5. (a)
Start
[3]
Input A, B, C
s = (a+b+c)/2
½
Area = (s(s-a)(s-b)(s-c))
Print Area
Stop
Answering Tip
Area of triangle can be calculated using the formula area= (s.(s-a).(s-b).(s-c)1/2.
(b) Primary-memory or Main-memory is a large array of words or bytes. Each word or byte has its own address.
Main memory provides storage that can be accessed directly by the CPU. That is, to execute a program,
it(program) must be in the main memory. The major activities of an operating system in regard to memory
management are:
1. Keep track of which part of memory are currently being used and by whom.
2. Decide which process are loaded into the memory when memory space becomes available.
3. Allocate and de-allocate memory spaces as needed. [4]
Solutions 3
OR
(i)
Mouse: The mouse is an input device that usually contains one or two buttons. As a user moves the
mouse on a flat surface, the mouse controls the cursor movement on the screen. When the user presses
one of the buttons, the mouse either marks a place on the screen or makes selection from data or menu
on the screen. A mouse has a sphere on its underside. This rotates as the mouse is moved along a flat
surface.
(ii) Trackball: A Trackball is a pointing device almost like a mouse turned upside down. The user controls
the cursor on the screen by rolling a plastic ball with a fingertip or wrist. To execute commands with a
Trackball, one or more buttons are pressed, much in the sa me way as is done with a mouse. The cursor
can be moved around on the screen by rolling the ball with a thumb or finger.
(iii) Scanner: Scanner is an input device. It is also called Optical Reader or Digital Scanner. It scans or reads
text and picture printed on a paper and enters them directly into the computer memory. The advantage
of a scanner is that the user needs not type the input data in. This is a lust and accurate method for
entering data into the computer. The scanner takes electronic images, of text or pictures from the paper
it breaks each image into light and dark dots and stores them into the computer memory in machine
codes. Scanned text can be edited by OCR software. Optical Character Recognition (OCR) software
translates the scanned document into text that can be edited.
(iv) Plotter: Plotter is a special output device, which is used to produce high quality, perfectly proportional
hard copy output. Plotters are designed to produce large drawings or images such as construction
plans for buildings or blue prints for mechanical devices. Plotters have been used in automotive and
aircraft design, topological surveys, architectural layouts and other similar complex drafting jobs.
A plotter is composed of a pen, a move-able carriage, a drum and a holder for chart paper. Both the pen
and the paper can move up and down and back and forth. This permits very detailed drawings. Some
plotter having colored pens can make colored drawings also.
6. (a) name1 = input(“Enter name”) [2]
name2 = input(“Enter name”)
print(“Hello”||, name1)
print (“Hello”||, name2)
(b) The number is being treated as a string. So, if we convert it to integer we will get the desired output.
N = int (input(“Enter number ”)) [2]
S = N*N
print(s)
OR
x = int(input(‘Enter the number of days required by A: ‘))
y = int(input(‘Enter the number of days required by B: ‘))
z = int(input(‘Enter the number of days required by C: ‘))
toget = (x * y * z)/(x*y + y*z + x*z)
days = round(toget,2)
print(‘Total time taken to complete work if A, B and C work together: ‘, days)
[2]
(c) [1 mark Each]
a. (iii)
b. (i)
c. (v)
d. (ii)
e. (iv)
7. (a) Threat [1]
(b) (i) LinkedIn Facebook [2]
1. LinkedIn is used by professionals. Facebook can be used by anyone above
the age of 13 years.
2. A user can create profiles like resumes User profile of a Facebook gives details
with experience, education and other of personal likings and disliking.
achievements.
4 OSWAAL CBSE Sample Question Papers, COMPUTER SCIENCE, Class-XI
nnn