logo Use CA10RAM to get 10%* Discount.
Order Nowlogo
(5/5)

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

 

 

 

 

 

Looking for affordable and reliable assignment help? Look no further! Our assignment help service offers top-notch assistance at the lowest prices you can find. We understand the importance of academic success and are committed to helping you achieve it without breaking the bank. Trust us to provide you with exceptional support every step of the way.

c++ programming help

(5/5)
Attachments:

Related Questions

. Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

. The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

. 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. The LineItem class will represent an individual

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

. SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

. Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of

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

expert
Um e HaniScience

759 Answers

Hire Me
expert
Muhammad Ali HaiderFinance

862 Answers

Hire Me
expert
Husnain SaeedComputer science

899 Answers

Hire Me
expert
Atharva PatilComputer science

939 Answers

Hire Me

Get Free Quote!

307 Experts Online