CBSE Class 12 Informatics Practices Sample Paper 2017 (1). It’s always recommended to practice as many sample papers as possible before the examinations. Students can download the sample papers and also question papers of previous years to practice and score better marks in examinations. Refer to other links too for more sample papers.
Q.1 (a) Write the value of variable ‘c’ after execution of the following code:
c = (5*++d)%3;(2)
(b) What is the difference between jTextField and jPasswordField components? (2)
(c) Give syntax of switch statement. In a switch statement what is the purpose of default section?(2)
(d) Write the output that will be generated by the code given below:
(e) What is XML? (2)
Q.2 (a) Differentiate between DDL and DML commands. (2)
(b) Write the update command to increase the commission (Column name :COMM) by 500 of all the Salesmen who have achieved sales (Column sales : SALES) more than 200000. The table’s name is COMPANY.(2)
(c) While using SQL pattern matching, what is the difference between ‘_’ (underscore) and ‘%’ wildcard symbols? Give syntax and an example also.(2)
(d) How is Primary key constraint different from Unique constraint? (2)
(e) What is Transaction in MySql? Which command is used to make changes done by a Transaction permanently on a database?
Please click the link below to download CBSE Class 12 Informatics Practices Sample Paper 2017 (1).