Friday, February 26, 2010

XI IP - FIRST TERM EXAM II Set

MM. 70 Time- 3 Hrs

Note: - All questions are compulsory. Marks are indicated with questions.

1) What is an Operating System? (2)
2) What is the difference between Main memory and Secondary memory? (2)
3) What is the use of password field control? (2)
4) Name two container control and two components? (2)
5) What is the difference between Integer data type and float data type? (2)
6) What is the difference between a variable and a constant? (2)
7) Write equivalent Java expression for the following expressions. (4)
i) (p+q)/(r+s)4 ii) |ex-x| + |b| * a
8) What is the function of assembler, compiler and interpreter? (3)
9) What are various types of operating systems? (3)
10) What do you understand by tokens in Java? Explain at least two tokens? (3)
11) Describe the following operators in Java with example. (6)
i) Arithmetic Operators ii) Assignment Operator
12) Describe the following statements with an example each. (9)
i) Entry control loop ii) Exit control loop
13) Write the purpose of following two properties of a label. (6)
i) title ii) icon
14) What is the difference between option buttons and check boxes? (3)
15) What is the technique used to arrange controls in java? Discuss in detail. (3)
16) What is the importance of button group? How do you create a button group? (3)
17) Write a program to print multiplication of 19 by using for loop. (3)
18) Write a program to print numbers in reverse order.(e.g. 100 to 1) (3)
19) Write a program to print even numbers up to 100. (3)
20) Write a program to print the following pattern. (3)
1
11
111
1111
11111
21) Write code to translate to its equivalent name of the month the year. (e.g. 1 to January, 2 to February,…………, 12 to December). (3)

1 comment: