Table of Content

Class 12 Computer Science Model Question Solution 2079

 Model Question
School Leaving Certificate Examination
2078
Grade: XII                                Subject: Computer Science (Th)                         Subject code: 428
Full Mark: 50                                                                                                             Time: 2 Hours
Group A: Multiple Choice Question (9 X 1= 9)
Time: 20 Minutes
Tick the correct Answer.
1. Which of the statement are used in DDL?
     A) Create, alter and loop                      B) Create, insert and select
     C) Insert, update and delete                 D) Delete, alter and drop
     Ans: 
              A) Create, alter, and loop 

2. With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”? 
     A) SELECT * FROM Persons WHERE FirstName='a' 
     B) SELECT * FROM Persons WHERE FirstName LIKE ‘a%? 
     C) SELECT * FROM Persons WHERE FirstName LIKE '%a’
     D) SELECT * FROM Persons WHERE FirstName='%a%? 
     Ans: 
             C) Select *FROM Person WHERE FirstName LIKE '%a'

3. Which of the following statements is true about a star network topology?
    A) Each device is connected to a switch or hub 
    B) Each device is connected to each other 
    C) Each device is connected in a trunk
    D) Each device is connected to a terminal
     Ans: 
            A) Each device is connected to a switch or hub

4. Which of the following is the correct syntax to display "Stay Safe" in an alert box using JavaScript? 
    A) alert-box("Stay Safe"); 
    B) confirm("Stay Safe"); 
    C) msgbox("Stay safe");
    D) alert("Stay Safe"); 
    Ans:
           D) alert("Stay Safe");    

5. What is the use of <A> tag?
   A) To insert an image                         B) To create a link
   C) To create a hyperlink                      D) To create a list
   Ans:
          C) To create a hyperlink  

6. What is the output of given C program?
      void main(){
               char str1[] = "FIRST"; char str2[20]; strcpy(str2,strl); 
               printf("%s %s ",str1,str2); printf("%d", (str1!=str2)); 
               printf("%d", strcmp(str1,str2)); }

   A) FIRST FIRST 0 0                           B) FIRST FIRST 1 1 
   C) FIRST FIRST 10                            D) FIRST FIRST 0 1
   Ans: 
          A) FIRST FIRST 0  0  

7. Where is a class derived in inheritance?
    A) Superclass              B) Subclass                 C) Subsetclass        D) Relativeclass
     Ans:
             B) Subclass

8. Which of these is the correct order of the SDLC? 
     A) Analysis, Design, Coding, Testing, Implementation 
     B) Analysis, Design, Testing, Implementation, Coding 
     C) Implementation, Coding, Analysis, Design, Testing
     D) Design, Testing, Implementation, Coding, Analysis
     Ans: 
           A) Analysis, Design, Coding, Testing, Implementation  

9. Why is cloud computing popular nowadays?
     A) Cost-sharing and easily accessible 
     B) As modern technology and costly 
     C) Accessible and freely available 
     D) Affordable to all
     Ans:
              A) Cost-Sharing and easily accessible 

Visit youtube for the full Solution

3 comments

  1. Where is group b and c
  2. Long and short question also needed
  3. Fast upload please