Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Instructions:
(i) All questions are compulsory.
(ii) Programming language: Java, SQL
===========================================================================================
Marks
How Multi Processing Operating Systems is different from Multi Programming Operating
Systems?
What is an Assembler
a.
b.
10 a.
b.
11 a.
b.
The following code has some error(s). Rewrite the correct code.
int y=3;
switch(y);
{ case 1: System.out.print(Yes its One);
case>2: System.out.println(Yes its more than Two); break;
case else: System.out.print(Invalid Number): }
12
13
Explain two circumstances where run time errors may occur in a java program.
14
15
90 to 100 - A
75 to <90 - B
60 to <75 - C
45 to <60 - D
33 to <60 - E
0 to <33 - F
other invalid score
16
Explain the block diagram of a computer. With well labelled suitable diagram
17
18
19
(a) Write the code for jButtonClear Command Button to clear all the textboxes. (1)
(b) Write the code for the Click event of the command button jButtonCalculate to calculate
the interest and amount depending on the principal, rate and time. The interest is
calculated as (PxRxT)/100 and amount as (Principal + Interest). (2)
(c) Write code for the Click event of the jButtonExit to terminate the application
20
Describe the three common controls. Also give some of their properties.
21
22
23
24
25
26
b) Syntax Error
Design a form and write a code to find the greatest among three un-equal numbers. Using
Netbeans
Differentiate between:
1. Text field and Text area components :
2. parseInt() and parseDouble() methods:
Name the primitives data types in java.
4
4
2
6