CS201 Assignment No 3 Solution Fall 2019 - Year 2020 | Virtual Study Solutions

Adsetra Ads

 

CS201 Assignment No 3 Fall 2019

Dear Students, Here you can read or download CS201 - Introduction to Programming Assignment No 3 Solution of Semester Fall 2019 but Year 2020. The Assignment Due Date is 15 January 2020. Total Marks are 20. This assignment covers Lecture No 15 to 30. CS201 Assignment Solution File + Sample Preview and Solution Video Explanation will be added in a few days. Previously we shared CS201 Assignment No 2 Solution Fall 2019.

Download CS201 Assignment 3 Solution Spring 2020

File Name
Download Link
 CS201 Assignment 3 Solution Spring 2020.docx 

Download CS201 Assignment 1 Solution Spring 2020

File NameDownload Link
 CS201 Assignment 1 Solution Spring 2020.docx Download


Share your valuable feedback in the comments section. Thank You.


CS201 Assignment No 3 Solution Fall 2019 - Year 2020
CS201 Assignment No 3 Solution Fall 2019 - the Year 2020

CS201 Assignment 3 Instructions

Please read the following instructions carefully before submitting the assignment.
It should be clear that your assignment will not get any credit if:
  • The assignment is submitted after the due date.
  • The submitted assignment does not open or file is corrupt.
  • The assignment is copied (From the internet/students).

The software allowed to develop CS201 Assignment 3

  • Dev C++
Also Read: DevC++ Installation and Usage Complete Guidelines

CS201 Assignment 3 Objectives:

In this assignment, the students will learn about:
  • How to make Class while dealing with real-life problems
  • How to associate functions with Class.
  • How to implement a switch statement for Class-based functions.
  • How to deal with file handling.
  • How to manipulate the already created file.
Also Read: CS201 VIVA Preparation Helping Material

CS201 Assignment 3 Problem Statement

Write a console-based employee management system through binary File Handling (In order to observe data security, we use binary file format so that data cannot be read directly from the TXT file) which will perform management actions of Employee by taking input from the user by showing following three options:
  1. Press 1 to ADD AN EMPLOYEE.
  2. Press 2 to DISPLAY FILE DATA.
  3. Press 3 to INCREASE EMPLOYEE SALARY.
After dealing with each option, show a prompt to the user and continue the program until the user press other than ‘y

Instructions to write C++ program:

  • Use Class Employee to declare all Employee’s belongings. 
  • Make an EMPLOYEE.TXT file for saving Employee records
  • Each time program runs, check and delete the EMPLOYEE.TXT file if already exists.
  • The switch statement will be implemented to perform multiple conditions and to perform different actions based on the conditions. i.e. Option 1, 2 and 3.
  • Write functions to perform tasks given in options.

Screenshots for Guidance:

1. Initially, when the program executes, the following screen will show to the user to get input from the user.

get input from the user
get input from the user
2. If the user presses any other option then 1 for the first time i.e. without creating any file for Employees, then show the error to the user.

show the error to the user
show the error to the user
3. If User press 1, then take Employee credentials from the user using prompt statements as follows and save that data in a binary file named EMPLOYEE:


save data in a binary file
save data in a binary file
4. If User Press 2, then show all Employee Records to the user by reading data from the file, which is depicted as follows:


show all Employee Records to the user
show all Employee Records to the user
5. If User press 3, then ask Employee code from user and then take the amount of salary to be increased and update the record of that Employee. depicted as follows:


update the record of Employee
update the record of Employee

CS201 Assignment No 3 Solution Fall 2019

You can see the Sample Preview of CS201 Assignment No 3 Solution provided by (Virtual Study Solutions) below. Click on Download Button to Download Solution File in Your PC. Please Share it with your friends. You can also like our Facebook Page or Subscribe Us on YouTube for Latest Updates related to Assignment Solution and Past Papers.

CS201 Final Term Past Papers Collection

File NameDownload Link
CS201 Final Term Past Papers Collection.zip Download


CS201 Final Term Past Papers Mega File

File Name
Download Link
CS201 Final Term Past Papers Mega File.pdf 
Please Note:
We are here to facilitate your learning and we do not appreciate the idea of copying or replicating solutions. 
Recommended: How to avoid Plagiarism or Zero Marks in Assignments

CS201 Assignment No 3 Solution Explanation

Watch the Complete video to understand the CS201 Assignment Solution.

CS201 Assignment No 3 Solution Output Sample Preview

You can see the sample output preview of the code below tested using online C++ Compiler:
CS201 Assignment 3 Solution Code Output Preview
CS201 Assignment 3 Solution Code Output Preview

Download CS201 Assignment No 3 Solution Fall 2019

File NameDownload Link
 CS201 Assignment No 3 Solution Fall 2019.docx Download
Share your valuable feedback in the comments section. Thank You.

Post a Comment

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Solution File Download Link has been Updated. Do not Copy and Paste.

    ReplyDelete
  3. is switch statement used or not.. and will the program give message if user press other then one

    ReplyDelete

 

Top