CIT 352 Chap 07 Hands-On Projects
.docx
keyboard_arrow_up
School
Brigham Young University, Idaho *
*We aren’t endorsed by this school
Course
352
Subject
Computer Science
Date
Dec 6, 2023
Type
docx
Pages
6
Uploaded by calebhatchcontact
CIT 352
Chapter 7
Name:
Complete all Projects by executing every step in each project. For those steps listed below,
follow the specified instruction.
Project 7-1
Step 21
Insert the screen capture
Project 7-2
Step 8
Insert the screen capture
1
Project 7-3
Step 20:
Insert the screen capture
2
Project 7-4
Step 6
Insert the screen capture
3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
2. Design the form as follow:
File
Edit
View
Git
Project
Build
Debug
Format
Test
Analyze
Tools
Debug
Any CPU
> Start -
Form1.vb*
Form1.vb [Design]" X
o Sales App
Month
Enter the sales of each day in the month
Read
Sales in a month:
O Note:
- Add the following to the form:
a. Three buttons
b. Two labels
c. One textboxe
d. One listBox
- Give appropriate names to the form, and controls
Server Explorer Toolbox
arrow_forward
Programming in c language
arrow_forward
This piece will define file extensions and identify the programs that generate them. Some concrete examples would be helpful.
arrow_forward
Introduction:It is often necessary to reformat data in files. Sometimes it is done for readability, sometimes it is done to fit as input to different programs.
Purpose:The purpose of the task is to provide proficiency in simple text management and file management.The task is the basis for file management.
Reading instructions:You should be done with all the steps up to and including file management.
Implementation:
You will create a standalone program that performs the tasks below. Start by solving task one and complete that task before starting task 2.
Your program should read the files mentioned from the "current working directory".All files are in text format with "\ n" at the end of the line. If you wish, you can use pipes and redirects to solve the file reading and printing instead of std :: ifstream and std :: ofstream.Comment on it in the code along with examples of how the program is used.
The file names.txt contains names and social security numbers in the following form. The…
arrow_forward
Blackboard Submission Instructions:
1. Group Assignment Submission Link is located in the assessment section on blackboard.
2. Include the group members names as a comment at the top of the source code. e.g. // Eman
Alyahyan
3. Upload program source files OR copy the source codes into a ( .txt ) files.
4. Upload screenshots of programs' outputs.
Problem: (5 Marks)
There are two scientists working on set of numbers. The first person is looking for two numbers
specifically. The second person is responsible for entering all data. Help the first person to know if
the numbers set entered by the second person includes the two numbers he is looking for!
Input
The first person shall enter two numbers. The second person enters set of numbers of any size. S/he
can enter any range of numbers (up to you how to read those numbers).
Output
Message showing if both numbers entered by the first person have been found or not. If one of the
numbers was found show which one has been found. Hint: you may…
arrow_forward
Phone Book Program
Data to Input/Output
Name
Contact Number
Age
Address
Email Address
Description
Name of the contact in the Phone Book
Cellular number of the contact in the Phone Book
Current age of the contact in the Phone Book
Current address of the contact in the Phone Book
Email address contact in the Phone Book
Your program should ask the user which task he'she wants to do in your program:
Example:
Tasks:
Tasks:
A- Add a contact
V- View a contact
U- Update a contact
D- Delete a contaet
A- Add a contact
V- View a contact
U-Update a contact
D- Delete a contact
Chonen Task is: A
Chosen Task is: V
arrow_forward
A new video store in your neighborhood is about to open. However, it does not have a program to keep track of its videos and customers. The store managers want someone to write a program for their system so that the video store can operate.
The program will require you to design 2 ADTs as described below:
[1] VIDEO ADT
Data
Operations
Video_ID (preferably int, auto-generated)
Movie Title
Genre
Production
Number of Copies
Movie Image Filename
[1] Insert a new video
[2] Rent a video; that is, check out a video
[3] Return a video, or check in, a video
[4] Show the details of a particular video
[5] Display all videos in the store
[6] Check whether a particular video is in the store
[2] CUSTOMER PARENT ADT
Data
Operations
Customer_ID (preferably int, auto-generated)
Name
Address
[1] Add Customer
[2] Show the customer details
[3] Print list of all customers
[3] CUSTOMER-RENT CHILD ADT
Customer_ID (
Video_ID (of all rented videos of a…
arrow_forward
A new video store in your neighborhood is about to open. However, it does not have a program to keep track of its videos and customers. The store managers want someone to write a program for their system so that the video store can operate.
The program will require you to design 2 ADTs as described below:
[1] VIDEO ADT
Data
Operations
Video_ID (preferably int, auto-generated)
Movie Title
Genre
Production
Number of Copies
Movie Image Filename
[1] Insert a new video
[2] Rent a video; that is, check out a video
[3] Return a video, or check in, a video
[4] Show the details of a particular video
[5] Display all videos in the store
[6] Check whether a particular video is in the store
[2] CUSTOMER PARENT ADT
Data
Operations
Customer_ID (preferably int, auto-generated)
Name
Address
[1] Add Customer
[2] Show the customer details
[3] Print list of all customers
[3] CUSTOMER-RENT CHILD ADT
Customer_ID (
Video_ID (of all rented videos of a…
arrow_forward
Flow Chart needed for the following problem:::
A program is required to read a series of inventory records that contains an item number, an item description, and a stock figure the last record in the file has an item number of zero.the program is to produce a low stock items report, by printing only those records that have a stock figure of fewer than 20 items. A heading is to be printed at the top of the report and a total low stock item count printed at the end
arrow_forward
CCDConnect < C X
Dashboard - CCD X
M5 Assignment 1 x ▸ How to install Or X
https://mycourses.cccs.edu/d21/le/content/83491/viewContent/6197961/View
Requirements for Your M5 Assignment 1 Pseudocode for Program Integration
For the first module, write the pseudocode to process these tasks:
(Note: lines beginning with # are comments with tips for you)
2. Define a class called Dice
PDF Oracle 12c SQL (
1. From the random module import randint to roll each die randomly
a. # in pseudocode, import a random function
b. # the name is helpful for the next M5-2 assignment
a. In Python, the syntax has a colon after it: class Dice():
b. In pseudocode, you can specify it generally or be specific
3. Under the class declaration, list the attributes. Here are some tips:
a. # attributes are what we know about a single die (dice is plural)
b. # self is the first attribute in Python and must always appear first
c. # add a num_sides attribute and to set it to 6 for the 6 sides on the dice
4. Define a method…
arrow_forward
The read position advances towards the end of the file when items from the file are read.
the report True or False:
arrow_forward
Sample OUTPUT
Celsius: 0
Fahrenheit: 32.0
Sample OUTPUT
Celsius: 1
Fahrenheit: 33.8
Sample OUTPUT
Celsius: 35
Fahrenheit: 95.0
Create a program that will convert Degree Celsius to Degree Fahrenheit.
Please help!!
arrow_forward
Instruction: Identify if the following is UNIQUE IDENTIFIER or NOT.
Promotion ID
File Upload
arrow_forward
* Question Completion Status:
A Moving to another question will save this response.
Question 1
Run-time binding is useful for saving on memory because :
It is static linking
Only load modules when they're needed.
Ob.
Don't allow several processes to share one copy of a module.
modules cannot be loaded
d.
A Moving to another question will save this response.
O
DELL
arrow_forward
F# Exercises
This assignment consists of three F# exercises. The code for all exercises are included in the single file, hw4.fsx.
For each of the exercises, you are only required to write the provided functions. There is no additional global functionality. Your functions should produce no output. To test your functions, either:
Test the functions using the interactive simulator
Add your own tests to the script (but be sure to remove them or comment them out before submission)
Implementation Rules
You may define and use additional functions if your feel it is appropriate.
Without prior approval from me, you may only use the subset of F# described in class.
In particular, you may NOT use F# system functions (such as min) or methods
Even though they were mentioned in class, you are NOT allowed to use the methods in the List module such as List.map.
Second Exercise, elimDuplicates
Write a function elimDuplicates that takes a list of integers and eliminates consecutive duplicates;…
arrow_forward
Add comments for Program 04
arrow_forward
C++ Visual Studio 2019
Instructions
Complete #1 & #2. Please submit just one file for the classes and main to test the classes. Just create the classes before main and submit only one cpp file. Do not create separate header files. Please note: the deleteNode needs to initialize the *nodePtr and the *previousNode. The code to do this can be copied from here: ListNode *nodePtr, *previousNode = nullptr;
arrow_forward
This is to be done using Visual Studio and the information input needs to be stored in an array of records.
arrow_forward
Python
arrow_forward
Monthly Sales
Create a program that allows you to view and edit the sales amounts for each month of the current year.
Example
COMMAND MENU
add - Add sales for specified month
view - View sales for specified month
edit - Edit sales for specified month
totals - View sales summary for year
exit - Exit program
Command: add
Three-letter Month: jan
Sales Amount: 10317
Sales amount for Jan is 10,317.00.
Command: add
Three-letter Month: feb
Sales Amount: 15293
Sales amount for Jan is 15,293.00.
Command: view
Three-letter Month: jan
Sales Amount: 14317
Sales amount for Jan is 14,317.00.
Command: edit
Three-letter Month: jan
Sales amount for Jan is 14,317.00.
Command: totals
Yearly total: 29,610.00
Monthly average: 14,805.00
Command: view
Three-letter Month: july
Invalid three-letter month.
Command: exit
Bye!
Specifications
The program should use a list to store the sales data for each month with the three-letter abbreviation for the month (Jan,…
arrow_forward
Employee view attendance report
The employee must be logged in to the
system to perform this function. The
employee selects the report period (range
of dates: from - to). The employee selects
"show report". Range of dates for the
report must be maximum 3 months, so if
the range is invalid, the system displays an
error message. The system displays every
working day in the report with the status
of the employee in this day, which could
be one of the following: on time, late, did
not come.
One actor?
One use case name?
One class ?
Attributes for the class ?
One relation between classes ?
arrow_forward
C++
Assignment Setup
Part 1: Working With Process IDs
Modify the getProcessID() function in the file named Processes.cpp
The function must find and store the process's own process id
The function must return the process id to the calling program. Note that the function currently returns a default value of -1.Hint: search for “process id” in the “System Calls” section of the Linux manual.
Part 2: Working With Multiple Processes
Modify the createNewProcess() function in the file named Processes.cpp as follows:
The child process must print the message I am a child process!
The child process must then return a string with the message I am bored of my parent, switching programs now
The parent process must print the message I just became a parent!
The parent process must then wait until the child process terminates, at which point it must return a string with the message My child process just terminated! and then terminate itself. Hint: search for “wait for process” in…
arrow_forward
Hi All, Please help me with this question.
Employee Registry This project requires the use of an employees.dat file (create your own file). The record format in the file is listed below (separated by a single space): first_name last_name employee_id phone_number Overview You’ve been asked by your employer to create an employee registry program. The program will be used by the HR department to maintain employee records. Requirements When your program starts, it should read the employees.dat file into memory. A menu should be displayed like below. List all employee details List employee by last name Add a new employee Remove an employee Show all managers only Show all staff only Quit Each menu option should be handled by its own function. You should add utility functions as needed. When option 1 is selected your program should list all the information for each employee in a tabular format. When option 2 is selected your program should prompt the user to enter an employee’s last name. If…
arrow_forward
Create a simple hangman game using python.
Requirements:
3 Functions in a separate module file a. Parameters / arguments used b. Return values used 2. Main file created a. Main function created b. Main function used appropriately 3. Decision structure used 4. Repetition structure used 5. Comment/header/style 6. Purpose of code is clear / program has a clear purpose 7. Must Include a menu in the program
8. Use of atleast 3-4predefined modules (math/random) .
arrow_forward
Create a simple program for a quiz
Software Requirements:
Latest version of NetBeans IDE
Java Development Kit (JDK) 8
Procedure:
Create a folder named LastName_FirstName (ex. Dahan yoon) in your local
Create a new project named LabExer5B. Set the project location to your own
The program shall:
contain an array of 10 multiple choice questions with three (3) choices each and
require the user to choose among A, B, or C;
Note: Cases are ignored. Lowercase letters are acceptable (a, b, c).
Create a try-catch structure to handle three (3) exceptions. These are when the user inputs the following:
an invalid letter (not A, B, or C)
a number or any special character
blank (no answer)
Prompt the user that he can answer again if any of the three (3) exceptions is
Display the score.
arrow_forward
5_-.
arrow_forward
Please written by computer source
Instructions
Deliverables:
For this assignment you will submit two python files to the drop box. Name the main file: lastname_firstname_assign2.py and name the module file: conversion.py.
Example: turner_randy_assign2.py
Create a program that converts feet to meters and vice versa.
Specifications
The formula for converting feet to meters is: feet = meters / 0.3048
The formula for converting meters to feet is: meters = feet * 0.3048
Store the code that performs the actual conversions in separate functions within a separate code module named "conversions.py". These two functions will take a single parameter and return the resulting conversion value. Close the file
Start a new .py file and use an "import" statement to import your custom module into this new file
Write a separate function to display the program banner/title
Write a separate function to display the menu as shown below in the sample output
Write the rest of the code to (1) take the user…
arrow_forward
You are working on development of a new water treatment plant for Spokane, Washington. Monthly rainfall data has been collected as part of designing the new water treatment plant, and you are required to develop a computer program that will perform statistical analysis. The input data file is called rainfall. As you examine the input file, you notice that the first record line is the name of the city and type of data, the second record line contains the control numbers, and the remaining record lines are the average monthly rainfall amounts: 12 rows (January – December) and 6 years (2015 – 2020).
Write a C program that will read the data from the input file, such that the city name and type of data are stored in a one-dimensional character array, and the rainfall amounts are stored in a two-dimensional array. Manipulate the two-dimensional array to calculate the average rainfall for each year and the standard deviation in rainfall for each year. Then find the minimum and maximum…
arrow_forward
8
File
Help
Tell me what you want to do
Home Insert Design Layout References Mailings Review View
iGET GENUINE OFFICE Your license isn't genuine, and you may be a victim of software counterfeiting. Avoid interruption and keep your files safe with genuine Office today.
Page 1 of 1
80 words
Accessibility: Investigate
CS309
CS309 ASSIGNMENT 9 - Word
A process description for "Pay Commission" is provided below:
For each COMMISSION EARNED
If EXTRA BONUS equals Y
|
-If PAYMENT TOTAL is greater than $80,000
Add 3% to COMMISSION PERCENT
Output SPECIAL LETTER
Output AWARD LIST
Else Add 2% to COMMISSION PERCENT
Output AWARD LIST
Else
If PAYMENT TOTAL is greater than $80,000
Add 1% to COMMISSION PERCENT
Output SPECIAL LETTER
Calculate COMMISSION COMMISSION PERCENT times PAYMENT TOTAL
Required:
Construct a Decision Table for the above process description.
delinki asylum
Get genuine Office
Learn more
F
+
+
X Q
X
100%
arrow_forward
LEVEL 16 are STAT lines which are written to the trace file for each execution(equivalent to plan_stat=ALL_EXECUTIONS)
a) True
b) False
arrow_forward
Add comments for assignment p05Thanks! Run it with C, Linux
arrow_forward
PROGRAM WORKFLOW:
The program is intended to serve as a visitor logbook, which is necessary for keeping track of who comes to the site. Users will be asked to enter their name, contact information (email or phone number), the purpose of their visit, and the time they enter the site when they first arrive. To keep track of the information, the data will be saved in a separate file. When the user exits the site, they will be asked to enter their departure time once more. The records stored can then be accessed at the end of working hours.
// Please take time to follow the program workflow. Thank you for help me out.
arrow_forward
Create a program that allows you to view and edit the sales amounts for each month of the current year.
Example of how the program should look:
Console
Monthly Sales program
COMMAND MENU
add - Add sales for a specified month
view - View sales for specified month
edit - Edit sales for specified month
totals - View sales summary for the year
exit - Exit program
Command: add
Three-letter Month: jan
Sales Amount: 10317
Sales amount for Jan is 10,317.00.
Command: add
Three-letter Month: feb
Sales Amount: 15293
Sales amount for Jan is 15,293.00.
Command: view
Three-letter Month: jan
Sales Amount: 14317
Sales amount for Jan is 14,317.00.
Command: edit
Three-letter Month: jan
Sales amount for Jan is 14,317.00.
Command: totals
Yearly total: 29,610.00
Monthly average: 14,805.00
Command: view
Three-letter Month: july
Invalid three-letter month.
Command: exit
Bye!
Requirements for the program:
The program should use a list to store the sales…
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Related Questions
- 2. Design the form as follow: File Edit View Git Project Build Debug Format Test Analyze Tools Debug Any CPU > Start - Form1.vb* Form1.vb [Design]" X o Sales App Month Enter the sales of each day in the month Read Sales in a month: O Note: - Add the following to the form: a. Three buttons b. Two labels c. One textboxe d. One listBox - Give appropriate names to the form, and controls Server Explorer Toolboxarrow_forwardProgramming in c languagearrow_forwardThis piece will define file extensions and identify the programs that generate them. Some concrete examples would be helpful.arrow_forward
- Introduction:It is often necessary to reformat data in files. Sometimes it is done for readability, sometimes it is done to fit as input to different programs. Purpose:The purpose of the task is to provide proficiency in simple text management and file management.The task is the basis for file management. Reading instructions:You should be done with all the steps up to and including file management. Implementation: You will create a standalone program that performs the tasks below. Start by solving task one and complete that task before starting task 2. Your program should read the files mentioned from the "current working directory".All files are in text format with "\ n" at the end of the line. If you wish, you can use pipes and redirects to solve the file reading and printing instead of std :: ifstream and std :: ofstream.Comment on it in the code along with examples of how the program is used. The file names.txt contains names and social security numbers in the following form. The…arrow_forwardBlackboard Submission Instructions: 1. Group Assignment Submission Link is located in the assessment section on blackboard. 2. Include the group members names as a comment at the top of the source code. e.g. // Eman Alyahyan 3. Upload program source files OR copy the source codes into a ( .txt ) files. 4. Upload screenshots of programs' outputs. Problem: (5 Marks) There are two scientists working on set of numbers. The first person is looking for two numbers specifically. The second person is responsible for entering all data. Help the first person to know if the numbers set entered by the second person includes the two numbers he is looking for! Input The first person shall enter two numbers. The second person enters set of numbers of any size. S/he can enter any range of numbers (up to you how to read those numbers). Output Message showing if both numbers entered by the first person have been found or not. If one of the numbers was found show which one has been found. Hint: you may…arrow_forwardPhone Book Program Data to Input/Output Name Contact Number Age Address Email Address Description Name of the contact in the Phone Book Cellular number of the contact in the Phone Book Current age of the contact in the Phone Book Current address of the contact in the Phone Book Email address contact in the Phone Book Your program should ask the user which task he'she wants to do in your program: Example: Tasks: Tasks: A- Add a contact V- View a contact U- Update a contact D- Delete a contaet A- Add a contact V- View a contact U-Update a contact D- Delete a contact Chonen Task is: A Chosen Task is: Varrow_forwardA new video store in your neighborhood is about to open. However, it does not have a program to keep track of its videos and customers. The store managers want someone to write a program for their system so that the video store can operate. The program will require you to design 2 ADTs as described below: [1] VIDEO ADT Data Operations Video_ID (preferably int, auto-generated) Movie Title Genre Production Number of Copies Movie Image Filename [1] Insert a new video [2] Rent a video; that is, check out a video [3] Return a video, or check in, a video [4] Show the details of a particular video [5] Display all videos in the store [6] Check whether a particular video is in the store [2] CUSTOMER PARENT ADT Data Operations Customer_ID (preferably int, auto-generated) Name Address [1] Add Customer [2] Show the customer details [3] Print list of all customers [3] CUSTOMER-RENT CHILD ADT Customer_ID ( Video_ID (of all rented videos of a…arrow_forwardA new video store in your neighborhood is about to open. However, it does not have a program to keep track of its videos and customers. The store managers want someone to write a program for their system so that the video store can operate. The program will require you to design 2 ADTs as described below: [1] VIDEO ADT Data Operations Video_ID (preferably int, auto-generated) Movie Title Genre Production Number of Copies Movie Image Filename [1] Insert a new video [2] Rent a video; that is, check out a video [3] Return a video, or check in, a video [4] Show the details of a particular video [5] Display all videos in the store [6] Check whether a particular video is in the store [2] CUSTOMER PARENT ADT Data Operations Customer_ID (preferably int, auto-generated) Name Address [1] Add Customer [2] Show the customer details [3] Print list of all customers [3] CUSTOMER-RENT CHILD ADT Customer_ID ( Video_ID (of all rented videos of a…arrow_forwardFlow Chart needed for the following problem::: A program is required to read a series of inventory records that contains an item number, an item description, and a stock figure the last record in the file has an item number of zero.the program is to produce a low stock items report, by printing only those records that have a stock figure of fewer than 20 items. A heading is to be printed at the top of the report and a total low stock item count printed at the endarrow_forwardCCDConnect < C X Dashboard - CCD X M5 Assignment 1 x ▸ How to install Or X https://mycourses.cccs.edu/d21/le/content/83491/viewContent/6197961/View Requirements for Your M5 Assignment 1 Pseudocode for Program Integration For the first module, write the pseudocode to process these tasks: (Note: lines beginning with # are comments with tips for you) 2. Define a class called Dice PDF Oracle 12c SQL ( 1. From the random module import randint to roll each die randomly a. # in pseudocode, import a random function b. # the name is helpful for the next M5-2 assignment a. In Python, the syntax has a colon after it: class Dice(): b. In pseudocode, you can specify it generally or be specific 3. Under the class declaration, list the attributes. Here are some tips: a. # attributes are what we know about a single die (dice is plural) b. # self is the first attribute in Python and must always appear first c. # add a num_sides attribute and to set it to 6 for the 6 sides on the dice 4. Define a method…arrow_forwardThe read position advances towards the end of the file when items from the file are read. the report True or False:arrow_forwardSample OUTPUT Celsius: 0 Fahrenheit: 32.0 Sample OUTPUT Celsius: 1 Fahrenheit: 33.8 Sample OUTPUT Celsius: 35 Fahrenheit: 95.0 Create a program that will convert Degree Celsius to Degree Fahrenheit. Please help!!arrow_forwardarrow_back_iosSEE MORE QUESTIONSarrow_forward_ios
Recommended textbooks for you
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage