Computer Science-II (L) Modified 18-7-22 Signed

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

RUBRICS: HSSC 1st ANNUAL EXAMINATION 2022

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)

Correct description Correct


Correct description
of any two process description of any Irrelevant/
Process states of any three
states (2) one process state wrong (0)
3 (a) process states (3)
(1)
Correct diagram Partially correct
Labeled diagram Wrong answer (0)
(1) diagram (0.5)
3 (b) Difference Description of Description of Some relevant Irrelevant/
between direct vs correct partially correct information (0.5) wrong (0)
parallel differentiation (2) differentiation (1)
deployment
method
Q.# Criteria Level 1 (Marks) Level 2(Marks) Level 3 (Marks) Level 4 (Marks) Level 5 (Marks)
/Part #
Difference
between phased Description of Description of
Some relevant Irrelevant/
vs pilot correct partially correct
information (0.5) wrong (0)
deployment differentiation (2) differentiation (1)
method
Correct code with
Code to input
structure, variables,
number and find Any three correct Any two correct Any one correct Irrelevant/
input and loop to
whether it is aspects (3) aspects (2) aspect (1) wrong (0)
check whether it is
prime or not
prime (4)
Code to input Correct code to
4 exponent value input exponent and Correct code of any Some relevant Irrelevant/wrong
and print power of print power of the one aspect (1) code (0.5) (0)
the number number (2)
If number is not
Correct code to
prime, code to Partially correct code Some relevant Irrelevant/wrong
print factorial of the
print factorial of (1) code (0.5) (0)
number (2)
the number
Correct code with Partially correct code
Code for main() Irrelevant/wrong
structure and calling with structure and
program (0)
functions (2) calling functions (1)
Code for function Correct function
overload having code with
Any two correct Any one correct Irrelevant/
single argument prototype/definition,
aspects (2) aspect (1) wrong (0)
5 (like Area of circle body, expression
and square) (3)
Code for function Correct function
overload having code with
Any two correct Any one correct Irrelevant/
two arguments (like prototype/definition,
aspects (2) aspect (1) wrong (0)
Area of rectangle body, expression
and triangle) (3)
Partially Correct Correct
Description of Some relevant
Correct description description and description OR
6 (a) (i) Inheritance with description Irrelevant/wrong (0)
and example (2) correct example correct example
an example (0.5)
(1.5) (1)
6 (a) (ii) Description of Correct description Partially Correct Correct Some relevant Irrelevant/wrong (0)
Polymorphism and example (2) description and description OR description
with an example correct example correct example (0.5)
(1.5) (1)
Q.# Criteria Level 1 (Marks) Level 2(Marks) Level 3 (Marks) Level 4 (Marks) Level 5 (Marks)
/Part #

Correct steps using Correct steps Some relevant


Steps in file Correct steps using
opening, reading using any one information Irrelevant/wrong (0)
reading in C++ any two aspect (1.5)
and closing a file (2) aspect (1) (0.5)
6 (b)
Correct steps using Correct steps Some relevant
Step in file writing Correct steps using
opening, writing and using any one information Irrelevant/wrong (0)
in C++ any two aspect (1.5)
closing a file (2) aspect (1) (0.5)

You might also like