lab 2b CSCI110 – Fundamentals of Computer Science

https://drive.google.com/file/d/1K4ZxYGUuwie1pTjs9LD3v7IsSF4WUpSl/view?usp=sharing

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

If you want the 2nd book for free here is the 3rd edition. Click on “GET” and it will redirect you and download within your browser.

http://library.lol/main/F1607751C1B3074B393D6B5BCE0C11A0

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper

CSCI110

– Fundamentals of Computer Science

Homework Assignments

Winter 2022

Instructions for your lab report.

1. You need to create a cover page formatted as following:

(

Notes:

The cover page needs to be typed and printed)

CSCI110 – Fundamentals of Computer Science

MT SAC College

CSCI110

Lab #: __________________

Description: ______________________

______________________

______________________

Due Date: ___________________

Name: _______________________

Grade: _______________________

Notes: ______________________

CSCI110 – Fundamentals of Computer Science

Requirements for your lab reports

Your submission should include:

1. The cover page

2. The listing of the source code (See details shown below)

3. A screenshot of your program execution

The source code should be organized and presented as:

1. Prolog

a. Program Description

b. Author

c. Input variables

d. Process Flow

e. Output variables

2. A listing of source code with internal comments

Programming requirements:

1. Your program needs to be user-friendly and easy to understand.

2. You need to follow the book’s and my instructions to code your program – no deviation. If you have any questions, please let me know.

CSCI110 – Fundamentals of Computer Science

Homework Assignments
Winter 2022

Lab 1A

Requirements:

Please work on p1.6 on page 26.

Test cases:

1. Please produce the report based on the book’s instructions.

1. Initial principal = 10000 (Please prompt the user for this amount)

1. Print ‘”New balance = “ for 3 years.

Due date: January 11, 2022

Submission includes 1) cover page 2) source listing 3) screen shot of program execution.

CSCI110 – Fundamentals of Computer Science

Lab 1B

Requirements:

Please work on p2.21 on page 69. You need to work on both conditions – the first time is earlier than the second time and the first time is later than the second time. There is no extra credit given for this lab.

Test cases:

1. You need to test both conditions mentioned in the requirements.

1. You need to print a user-friendly message showing the difference between these two times. Do not follow the book by simply printing “8 hours and 30 minutes”.

Due date: January 11, 2022
Submission includes 1) cover page 2) source listing 3) screen shot of program execution.

CSCI110 – Fundamentals of Computer Science

Lab 2A

Requirements: Please work on p3.9 on page 119. Also, show at least 9 test cases (i.e., A, A-, B+, C-, D+, D-, F, etc.)

Test cases: You need to test at least 9 cases out of all possible grades (A+, A, A-, B+, B, B-, C+, C, C-, D+, D, D-, F, F+, F-). Also, you need to test A+, F+, and F- (See Notes for more information.)

Due date: TBD

Submission includes 1) cover page 2) source listing 3) Screen shot of program execution.

Notes:

A+ = 4

F+ = 0

F- = 0

CSCI110 – Fundamentals of Computer Science

Lab 2B

Hi guys,

The first option – Please work on p4.14 on Page 182

Test cases:

1. Your program needs to prompt the user for an input string values (i.e., Harry, hairy, hare, and the).

2. Your program should produce a report with a header (i.e., Word for the first column, and Syllabus for the second column) for each column.

3. Your report should look like the following

Word Syllabus

Harry 2

hairy 2

hare 1

the 1

Due date: TBD
Submission includes 1) cover page 2) source listing 3) Screen shot of program execution.

Thanks!

5

// LAB2A.cpp : This file contains the ‘main’ function. Program execution begins and ends there.
//
#include
#include
using namespace std;
int main()
{
bool flag = true;
string grade;
string answer;
while (flag);
{
cout << "Please enter your grade"; cin >> grade;
if (grade == “A+”)
cout << "Your numeric score is " << "4.0" << endl; else if (grade == "A") cout << "Your numeric score is " << "4.0 " << endl; else cout << "Your numeric score is " << "unknown " << endl; cout << "Do you want to continue (y/n) ?" << endl; cin >> answer;
if (answer != “y”)
flag = false;
}
system(“pause”);
return 0;
}

Order your essay today and save 30% with the discount code ESSAYHELP