 (Part 1 (10 marks). This part consists of compulsory short answer questions , Part 2 (40 marks) this part is divided into 3 sections A,B  and C students are requested to answer 2 questions out of 3 from section A, & 1 question out of 2 in section B & C. Each question carries 10 marks)

Part I (30 marks)

1.  Convert the following Hexadecimal to binary & decimal 
1. F8     b.   1A        c.  3B                   d.   AA
2. Perform binary multiplication on the following                          
1. 1010*101           b.1101*0101
3. Express the following into decimal ,octal ,Hexadecimal            
1. (110011001)2
4. Convert the following into decimal                                            a. 1101010    b. 01.111   c. 1001.00101    d. 1010111
5. Differentiate between the following                                             
1. BITS & BYTES
2. SIGN BIT & PARITY BIT
6. Define the usage & syntax of the following                                 
1. toString()
2. trim()
3. lastIndexOf()
4. concat()
7. Define output of the following                                     
• “Tomorrow”.indexOf(“o”);
• “Tomorrow”.indexOf(“o”,3);
• “Tomorrow”.lastIndexOf(‘o’);
• “Tomorrow”.subString(2,4);
8. Define the output of the following                                               
• int k=5,j=2;

k+=k++*j– + –k;

System.out.println(k);

Part II (70 marks)

Section A (30 marks)

Q 1

1. Define the term memory interface?
2. Explain the term Operating system?
4. Define what is Object & Exception?

Q 2

Define the following

1. API
2. Arrays
3. Bytecode
4. Jumping statements(break & continue)

Q 3

1. Find syntax error if any                                                [2.5]

Switch(x){

Case 1: a1=10;

a2=20;

case 2:a3=30;

break;

a4=40;

}

2. Give the output of the following                                         [2.5]

int amount=500;

int balance=200;

while(++amount < –balance);

System.out.println(amount); 3. What is try – catch block?                                                    

4. Convert the following binary to octal & hexadecimal      

11011

1010

Q 4

1. Explain with logic gate diagram why NAND, NOR, XOR gates are called universal gates?                                        
2. Explain Full adder circuit with help of logic gate diagram, truth table, equation?                             
3. What is a flip flop? Explain D flip flop with logic gate diagram?                 

Section B (20 marks)

Q 5

1. What is Intellectual property?                                      
2. What is the moto of free software foundation?                  
3. Explain software copy rights & patents?                            

6

1. Expalin the following
1. Privacy                          
1. Spam                              
1. Security issues              
1. Phishing                         

Q 7

1. Explain how is stack different from queue?                       
2. Write a java program to explain push & pop operation in stack?                                   

Section C (20 marks)

Q1

1. Write a program to display the following output

1234554321

1234  4321

123    321

12    21

1      1

Q 2

• Write program to enter Full name of user and print initials in following format

Ex Mohandas Karamchand Gandhi

O/P M.K.Gandhi.

Q3

• Write a program to check if a number entered by user is armstrong or not?[Hint 153 is armstrong number because 13+53+33=153]use recursive function.