Earn Higher Grades With Instant Assignment Help.Ask Question!

C++ Programming
(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

 

 

 

 

Attachments:
(5/5)

Related Questions

CSI 1420 Introduction to C Programming & 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 majorconstructs of the C programming language – Fu

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 Assignment To Be Done By Our ExpertsGet A+ Grade Solution Guaranteed

expert
joyComputer science
(4/5)
12 Answers Hire Me
expert
Robert DLaw
(4.8/5)
860 Answers Hire Me
expert
Dr Samuel BarberaStatistics
(5/5)
656 Answers Hire Me
expert
Tutor For YouEconomics
(5/5)
876 Answers Hire Me