(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 [4]
    1. F8     b.   1A        c.  3B                   d.   AA
  2. Perform binary multiplication on the following                          [4]
    1. 1010*101           b.1101*0101
  3. Express the following into decimal ,octal ,Hexadecimal            [4]
    1. (110011001)2
  4. Convert the following into decimal                                           [4] a. 1101010    b. 01.111   c. 1001.00101    d. 1010111
  5. Differentiate between the following                                             [4]
    1. BITS & BYTES
    2. SIGN BIT & PARITY BIT
  6. Define the usage & syntax of the following                                 [4]
    1. toString()
    2. trim()
    3. lastIndexOf()
    4. concat()
  7. Define output of the following                                     [4]
    • “Tomorrow”.indexOf(“o”);
    • “Tomorrow”.indexOf(“o”,3);
    • “Tomorrow”.lastIndexOf(‘o’);
    • “Tomorrow”.subString(2,4);
  8. Define the output of the following                                               [2]
    • 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?
  3. Write about OOPS?
  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?                                                    [1]

4. Convert the following binary to octal & hexadecimal      [4]

11011

1010

Q 4                                                                   

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

Section B (20 marks)

Q 5                                                                  

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

6

                                            

  1. Expalin the following
    1. Privacy                          [2]
    1. Spam                              [2]
    1. Security issues              [2]
    1. Phishing                         [2]
    1. Trade mark               [2]

Q 7   

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

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.

LEAVE A REPLY

Please enter your comment!
Please enter your name here