Group-1 Question Paper Class Xi Subject: Informatics Practices (065) Time: 3 Hours Max. Marks: 70
Group-1 Question Paper Class Xi Subject: Informatics Practices (065) Time: 3 Hours Max. Marks: 70
QUESTION PAPER
CLASS XI
SUBJECT : INFORMATICS PRACTICES (065)
Time: 3 hours Max. Marks: 70
S.NO QUESTION MARKS
.
1 A Name the basic units of a computer system 1
B What is an operating system. Name any two examples 2
C Give one point of difference between OCR and MCR 1
D What is a port? Name any two port types. 2
E Write any one advantage of TFT display 1
F What do you understand by computer security? Name any two threats to 2
computer security.
G Why IDE are useful in application development 1
4 A Write a program in java to calculate the sum of all the number divisible by 5 2
in the range 1 to 50.
B Write the output of the following code: 2
int i = 0, x = 0; 2
do
{ if (i%5==0)
{ x++;
System.out.println(x+”\n”);
}
++I;
}while(i<20);
System.out.println(x);
C Rewrite the following while loop into a for loop 2
int s = 0;
while(s<=13)
{
If (s%2==2)
{
System.out.println(“Color is red”);
}
else
{
System.out.println(“Color is blue”);
}
System.out.println(“New color”);
s= s+1;
D Rewrite the corrected program after removing errors. Underline the 2
corrections
In i= 5, j=10;
If(i<j)||(i=10))
System.out.println(“OK\n”);
System.out.println(“Not Ok”); )
E Mr. Radhey Shyam Bansal the owner of the Kiddi Land Enterprise has
asked his programmer Ekta to devlop the following GUI in Netbeans.
Principal
Rate
Time FIXED DEPOSIT
Senior Citizen RECURRING DEPOSIT
INTEREST
calculate AMOUNT
CLEAR
(I) Write the code for the clear button to clear all the textfields 5
(txtPrincipal and txtTime) and Checkbox. Set the Default choice
in the radiobutton as Fixed Deposit. Suppose the name of
radiobutton Fixed Deposit is radioFD and Recurring Deposit is
radioRD.
(II) Write the code for the calculate button to calculate the
compound interest (P*(1+R/100)T and amount (Principal +
Compound Interest) and display the values in the txtInterest and
txtAmount depending on principal , rate and time.
E Use less power than a normal monitor and can display text and graphics in a 1
wide range of colours.
F Computer Security: It is the ability of a system to protect information and 1
system resources with respect to confidentiality and integrity
Viruses and Spyware ½ +½