Sargodha Board Subjective Model Paper of Computer Science For 12th Class 2015



Sponsored Links


Model Paper Computer Science Subjective
Intermediate Part – II (12th Class) Examination Session 2012-2014 and onward
Total marks: 83 Time: 3:10 hours
SECTION - I
2. Write answers of any Eight questions. (8 x 2 = 16)
(i) Describe data manipulation.
(ii) State the use of Query language.
(iii) List different objectives of the databases.
(iv) Who is data administrator?
(v) Define foreign key?
(vi) How a relation is formed in database?
(vii) What is meant by file organization?
(viii) Define the term redundancy.
(ix) Write down major database objects in MS ACCESS.
(x) Write some advantages of using MS ACCESS IDE.
(xi) Describe field property.
(xii) Differentiate between Combo box and List box.
3. Write answers of any Eight questions. (8 x 2 = 16)
( Note: In each option Ist question relates to C Language & IInd question relates to Visual Basic)
(i) How does a compiler work?
OR
Describe OOP.
(ii) Write shortcut key to compile C program.
OR
Why Visual Basic is called event driven language?
(iii) Give an example of preprocessor directive.
OR
What do you know about code window in Visual Basic?
(iv) What is variable initialization?
OR
What is the purpose of Val function?
(v) List at least four data types used in C Language.
OR
List at least four data types used in Visual Basic.
(vi) How are comments added on multiple lines?
OR
How comments are added in Visual Basic?
(vii) Differentiate between ‘area’ and area.
OR
What is the output of 10 * 2 ^ 2 ?
(viii) What do you know about format specifier?
OR
Define event. Give at least two examples of events.
(ix) Write C statement to print the value of an integer n.
OR
Differentiate between Properties and Methods.
(x) Describe the use of ampersand($) in scanf function.
OR
How does an option button differ from check box?
(xi) Find the errors in the following code
Main ( ); {
PRINTF(“HELLO”) }
OR
What is the size of twip?
(xii) Determine the output of the following code segment.
float p = 3.14159;
printf(“p=%5.1f”,p);
OR
What is the purpose of control naming conventions?4. Write answers of any six questions. (6 x 2 = 12)
( Note: In each option Ist question relates to C Language & IInd question relates to Visual Basic)
(i) Write an expression in C language for “ Number is divisible by 5”.
OR
Write an expression in Visual Basic for “ Number is divisible by 5”.
(ii) Define Control structure.
OR
Define Control structure.
(iii) What is conditional operator? Write the syntax of conditional operator.
OR
Describe Relational operators in Visual Basic.
(iv) What is use of “if-else” statement.
OR
Write the syntax of IF . . . THEN Structure in Visual Basic.
(v) Write two uses or advantages of loop.
OR
What do know about Do . . . Loop . . . Until ?
(vi) Define sentinel value.
OR
Differentiate between outer and inner loop in Visual basic.
(vii) What is the scope of local variables?
OR
What is standard code module?
(viii) Define function. Why is it used in a program?
OR
What is the use of function procedure?
(ix) What is the use of file pointer?
OR
List file modes for data files in Visual Basic.

SECTION II (Essay Type)
Note:- Attempt any one question. ( 8×1=08 )
MS - ACCESS
5.
What is ER diagram? Explain with the help of an example. [ 8]
6.
Discuss different data types available in MS Access. [ 8 ]
SECTION II (Essay Type)
Note:- Attempt any Two questions either from “ C Language” OR from “ Visual Basic”.

( 8×2=16 )
7.
C- Language
Briefly describe the basic structure of a C program. [ 8 ]
------------------- OR -------------------- Visual Basic
Write a detailed note on Components or elements of Visual Basic IDE. [ 8 ] 8.
C- Language
What is “switch “ statement? Explain its working with example. [ 8 ]
------------------- OR -------------------- Visual Basic
Explain Select . . . Case Structure with its working [ 8 ]
9.
C- Language
Define for loop. Explain its working with example. [ 8 ]
------------------- OR -------------------- Visual Basic
What is meant by pretest and posttest in loop? Explain with a suitable example [ 8 ]
SECTION III (PRACTICAL)
Attempt any Three parts of the question. [ 3 x 5 = 15 ]
10.
(i) Explain the procedure to extract data from multiples tables.
(ii) What are check boxes and option buttons? Explain the procedure of adding these objects
to a form.
(iii) Write a program that inputs 4 numbers, calculate their sum, average and product of these
numbers in C Language or in Visual Basic.
(iv) Write a program that inputs a number from the user and display a table of that number
using for loop in C Language or using For . . . Next Loop in Visual Basic.
(v) Write a program that inputs two numbers in main function. Passes these numbers to a
function. The function displays the maximum number in C Language or in Visual
Basic.