Fundamentals of Computer Science

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.

5