Professional Documents
Culture Documents
Computer Science-II (L) Modified 18-7-22 Signed
Computer Science-II (L) Modified 18-7-22 Signed
Computer Science-II (L) Modified 18-7-22 Signed
SUBJECT: COMPUTER SCIENCE-II (L) Final by Khalid Sb Mrs Rozina Faheem dated: 18-07-22 at 2: 00 pm
Q.# Criteria Level 1 (Marks) Level 2(Marks) Level 3 (Marks) Level 4 (Marks) Level 5 (Marks)
/Part #
Difference b/w
Description of
multiprogramming Partially correct Some relevant Irrelevant/
2(i) correct
& time-sharing difference (2) information (1) wrong (0)
differentiation (3)
OS
Correct code using
opening of files, Correct code
Code to copy the Correct code using Irrelevant/
2(ii) reading/writing of using any one
contents any two aspect (2) wrong (0)
files and closing of aspect (1)
files (3)
Define Correct definition Partially correct Irrelevant/wrong
Constructor (1) definition (0.5) (0)
2(iii) Rules/features of
Any two correct Any one correct Some relevant Irrelevant/
naming
rules/features (2) rule/feature (1) information (0.5) wrong (0)
constructor
Define Access Correct definition Partially correct Irrelevant/wrong
specifier (1) definition (0.5) (0)
2(iv)
Enlist types of Any two correct Any one correct Irrelevant/wrong
access specifiers types (2) type (1) (0)
Purpose/Usage of Partially correct
Correct definition/ Irrelevant/wrong
requirement definition/ purpose/
purpose/ use (1) (0)
engineering use (0.5)
2(v) Difference
between types of Any two correct Any one correct Irrelevant/wrong
requirements differences (2) difference (1) (0)
gathering
Correct Partially correct
Define Ternary Irrelevant/wrong
definition/purpose definition/purpose
operator (0)
(1) (0.5)
2(vi)
Generalized Correct syntax
Correct syntax or Some relevant Irrelevant/
Syntax with an with an example
correct example (1) information (0.5) wrong (0)
example (2)
2(vii) Correct Output of Correct output with Irrelevant/wrong (0)
first cout value of b (1)
statement Ans: b=5
Q.# Criteria Level 1 (Marks) Level 2(Marks) Level 3 (Marks) Level 4 (Marks) Level 5 (Marks)
/Part #
Correct Output of Correct output with
second cout value of b (1) Irrelevant/wrong (0)
statement Ans: b=5
Correct Output of Correct output with
third cout value of b (1) Irrelevant/wrong (0)
statement Ans: b=6
Correct purpose of Correct purpose of Correct purpose Irrelevant/
Purpose
\r, \b, \a (1.5) any two (1) of any one (0.5) wrong (0)
2 (viii)
Correct example Correct example of Correct example Irrelevant/
Example
of \r, \b, \a (1.5) any two (1) of any one (0.5) wrong (0)
2 (ix) Expressions to Any three correct Any two correct Any one correct Irrelevant/
test the expressions (3) expressions (2) expression (1) wrong (0)
relationship
Correct code using Correct code using
C++ code using Irrelevant/wrong
strcat() and output strcat() or output of
strcat() (0)
of S3 (1) S3 (0.5)
Correct code to
C++ code to Correct code to
compare two Irrelevant/wrong
compare two compare two strings
2 ¿) strings and display (0)
strings or display (0.5)
(1)
Correct code to
C++ code to Correct code to find
find length of Irrelevant/wrong
display length of length of string or
string and display (0)
string display (0.5)
(1)
C++ code to find Correct code using
Correct code
sum of all declaration with Correct code using Irrelevant/
2(xi) using any one
elements in 4x4 values, finding sum any two aspects(2) wrong (0)
aspect(1)
matrix and display sum(3)
Partially correct
Definition of an Correct definition/ Irrelevant/wrong
definition/ purpose/
Array purpose/ use (1) (0)
use (0.5)
Syntax of
2(xii)
declaration and Correct declaration Correct declaration
Irrelevant/wrong
initialization with and initialization or initialization with
(0)
example of 2-D with example (2) example (1)
array
2(xiii) Description of Description of any Description of any Description of any Any relevant Irrelevant/wrong (0)
Features of three correct two correct features one correct information (0.5)
function features (3) (2) feature (1)
Q.# Criteria Level 1 (Marks) Level 2(Marks) Level 3 (Marks) Level 4 (Marks) Level 5 (Marks)
/Part #
overloading
Correct visibility and
Partially correct
Irrelevant/wrong
lifetime of Variablevisibility and lifetime
(0)
x (1) of Variable x (0.5)
Visibility and
Correct visibility and
Correct visibility and
lifetime of Irrelevant/wrong
2(xiv) lifetime of Variablelifetime of Variable y
variables x, y, z, (0)
y and z (1) or z (0.5)
and m
Correct visibility and
Partially correct
Irrelevant/wrong
lifetime of Variablevisibility and lifetime
(0)
m (1) of Variable m (0.5)
Partially correct
Correct description Irrelevant/wrong
Benefits of array description of
of benefits (1) (0)
benefits (0.5)
2 (xv)
Difference b/w
Correct Partial correct Irrelevant/wrong
one and two
differentiation (2) differentiation (1) (0)
dimensional array
Correction Partially correction
Definition of Irrelevant/wrong
definition/ definition/
Pointer variable (0)
purpose/use (1) purpose/use (0.5)
Partially Correct
Differentiation
Difference Correct
between reference
2(xvi) between Differentiation
operator and
reference between reference Irrelevant/wrong
deference operator
operator and operator and (0)
(1)
deference deference operator
operator (2)