Lab #3
Lab #3
3 DD/MM/YYYY
Activities:
Activity 2.1: Write a program in C++ that will declare two variables of integer type and
assign value to them.
Code:
Please write or paste your code snap here.
Output:
Please paste your output screenshot here with your Name and CMS mentioned in it.
Activity 2.2: Declare a variable with identifier that will contain _ symbol only.
Code:
Please write or paste your code snap here.
Output:
Please paste your output screenshot here with your Name and CMS mentioned in it.
Activity 2.3: Is the following identifier valid for variable, if yes, then explain why:
decimal @abstract;
Code:
Please write or paste your code snap here.
Output:
Please paste your output screenshot here with your Name and CMS mentioned in it.
Activity 2.4: Is the following identifier valid, if not explain why:
long my data;
int price$;
Code:
Please write or paste your code snap here.
Output:
Please paste your output screenshot here with your Name and CMS mentioned in it.
Activity 2.4: Write a computer program that takes two integers as inputs from user and
display their values:
Code:
Please write or paste your code snap here.
Output:
Please paste your output screenshot here with your Name and CMS mentioned in it.
Observations:
Please write your observation after conducting this lab, you have to write in few lines, what did
you learn in this lab.
Rubrics
Absent Student is Student can Student has Student has Student
unable to understand followed constructed perfectly
follow the the instructions the implemented
provided provided to construct functional/ a working
instructions laboratory the working model/
properly. instructions fundamenta schematic/ logic/
The student and familiar l schematic/ model/ circuit/
can name the with the lab block block block
hardware or environmen diagram/ diagram/ diagram/
simulation t (Trainer/ code/ code, and code and
Demonstratio
platform, but software/ model on have successfully
n
unable to IDE), but the successfull executed the
implement cannot protoboard/ y executed lab objective
anything implement trainer/ the in Realtime
practically or on the simulation program/ or in a
on the platform software. run circuit simulation
software practically on software environment
or on the platform and
software produced the
desired
results
Category Ungraded Very Poor Poor Fair Good Excellent
Percentage [0] [1-20] [21-40] [41-60] [61-80] [81-100]
Marks 0.0 0.01 - 0.20 0.21 - 0.40 0.41 - 0.60 0.61 - 0.80 0.81 - 1.0
Date Total Instructor’s Signature
Marks