logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
StatAnalytica ExpertFinance
(5/5)

515 Answers

Hire Me
expert
Christopher OchiengComputer science
(/5)

737 Answers

Hire Me
expert
Imraan KhanManagement
(5/5)

502 Answers

Hire Me
expert
Blake BarnesEngineering
(5/5)

965 Answers

Hire Me
C++ Programming

Create a class that includes a data member that holds a “serial number” for each object created from the class. That is, the first object created will be numbered 1, the second 2,

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Instructions: Please read the below instruction before attempting the exam questions.

  1. The exam is an open book. Students can get help from books and lecture
  2. Attempt all questions; marks and CLOs of each question are duly
  3. For student’s queries, the course teacher will be available from 10:00 am to 11:00 am on MS- Teams. Please ask the relevant
  4. After completing the exam, only upload Source File with.CPP extension. Filename must be your name and SAP-ID. e.g., (Nicola Tesla 1122).
  5. Upload the solutions on Moellim before the end time. For students having low internet speed, please start uploading well before the end
  6. The answers must be retained by students until the announcement of
  7. Faculty have formed a zero-tolerance policy about cheating in examinations. Therefore, based on your exam answers, if the teacher found any student involved in copying from peers will have an online viva session with the course teacher or get zero

Question Paper

Q1 CLO No. 02 MARKS 15


Develop a C++ based program which reflects the implementation of the following flowchart.

Q2  CLO No. 02 MARKS 15

Develop a C++ code which could generate the following number series: −1, +1, −2, +2, −3, +3 … … …

 Q3     CLO No. 02 MARKS 10

Create a class that includes a data member that holds a “serial number” for each object created from the class. That is, the first object created will be numbered 1, the second 2, and so on. To do this, you’ll need another data member that records a count of how many objects have been created so far. (This member should apply to the class as a whole; not to individual objects. What keyword specifies this?) Then, as each object is created, its constructor can examine this count member variable to determine the appropriate serial number for the new object.

 

Assessment Rubrics

 

Rubrics for Programming & Simulation Courses

Sr. no

Performance Indicator

Excellent (100

%)

Good (75%)

Fair (50%)

Poor (25%)

Did not Attempt (0)

1

Program/Simul ation Execution

Program/simula tion executes correctly with no syntax or runtime errors

Program/simula tion executes correctly with 1-

2 minor error (syntax/logical/ personal)

Program/simulati on executes correctly with more than 2 minor error (syntax / logical / personal)

Program/simul ation does not execute

 

or

 

program/simul ation is incomplete

Program/si mulation was not attempted

2

Correct Output

Program/simula tion displays correct output with no error

Output has minor errors

Output has multiple errors

Output is Incorrect

Program/si mulation was not attempted

3

Design of

Program/simula

Program/simula

Program/simulati

Output is

Program/si

 

Output/

tion display

tion display

on does not

poorly

mulation

 

Creativity to

additional

minimal

display required

designed

was not

 

improvise

information for

expected output

output

 

attempted

 

output for

better

 

 

 

 

 

better

understanding

 

 

 

 

 

understanding

of user and

 

 

 

 

 

of user

output shows

 

 

 

 

 

 

creativity

 

 

 

 

4

Design Logic

Program/simula

Program/simula

Program/simulati

Program/simul

Program/si

 

 

tion is logically

tion has minor

on has significant

ation is based

mulation

 

 

well designed

logical error/s

logic errors

on incorrect

was not

 

 

 

that do not

 

logic

attempted

 

 

 

affect the

 

 

 

 

 

 

results

 

 

 

 

 

 

significantly

 

 

 

 

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme