In Exercises 1 through 52, determine the output produced by the lines of code.
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
Pearson eText for Introduction to Programming Using Visual Basic -- Instant Access (Pearson+)
Additional Engineering Textbook Solutions
C Programming Language
Starting Out with Java: From Control Structures through Data Structures (4th Edition) (What's New in Computer Science)
Starting Out with Java: Early Objects (6th Edition)
Starting Out with Java: From Control Structures through Objects (7th Edition) (What's New in Computer Science)
Starting Out with C++: Early Objects
Computer Science: An Overview (13th Edition) (What's New in Computer Science)
- Menu option C The program reads in data from HowManyHours.txt, displays a report header with the report creator’s name, employee id, and department and who they created the report for. The body of the report displays the total number of students who used the program, the average credits taken, and the average study hours. In the following format –STUDY HOURS REPORT Created for Dr. Payne, A004567893 Dept: Computer Science Created By: Karen Smith, A00494928Dept: Advising Total Students: 3Average Credits: 9.00Average Study Hours: 20.00Menu option DThank the user for using the programTerminates the programarrow_forwardthe huntington high school basketball team has five players named art, bob, cal, dan, and eli. accept the number of points scored by each player in a game and create a bar chart that illustrates the points scored, similar to the chart in figure.arrow_forwardImport the CSV module and read the file colleges.csv Process the data from the file for the following: Store the date column in a variable so you can adjust the formatting to be MM/DD/YYYY or YYYY Use the cases_2021 column as the value to decide which sentence option to display Use the county column to determine which school is in Los Angeles county If the school is in Los Angeles county, output the sentence one of the following example sentences based on the available data as a single string: As of MM/DD/YYYY, COLLEGE NAME reported YY cases of COVID-19 in YYYY. As of MM/DD/YYYY, COLLEGE NAME reported no cases of COVID-19 in YYYY. The sentence in the print() statement should be a single string statement, no commas seperating values Some values in the CSV may be modified from the original to ensure you are correctly parsing the data as requested. colleges.csvdate,state,county,city,ipeds_id,college,cases,cases_2021,notes2021-05-26,California,Orange,Fullerton,110565,"California…arrow_forward
- LOGICAL EXPRESSIONS #15 SURGERY_DATE is a datetime column that stores the dates on which surgeries were performed. The time stored is midnight. Which of the following will return TRUE for surgeries performed in 2016 and FALSE for all other surgeries? SELECT ONE OF THE FOLLOWING A. SURGERY_DATE BETWEEN '31 DEC 2015' AND '31 DEC 2016' B. SURGERY_DATE BETWEEN '31 DEC 2015' AND '1 JAN 2017' C. SURGERY_DATE BETWEEN '1 JAN 2016' AND '31 DEC 2016' D. SURGERY_DATE BETWEEN '1 JAN 2016' AND '1 JAN 2017'arrow_forwardplease in c programming languagearrow_forwardQ4 Based on Figure Q4, answer the following questions. This program draws a triangle on the screen My name is My matric no is I want to print triangle so wiii select no 1 = 1 Please enter 'y' to continue : y Figure Q4 3arrow_forward
- Q4/ Ex: Design a program to calculate the area of the shaded part shown in the figure: the width of the rectangular (W6 cm) the radius for each quarter circle (r= 3 cm) input all the information's by an input box, the length of the rectangular (L-10 cm) appear in the location (8000,1000) and print all results on the form by the font (Tahoma), bold with the size (14). Create a command button to exit from the program and use (s) to stop input process. Let the program carry out results continually. L ky M Karrow_forward1. The columns are denoted as column numbers True False 2. All the 6 main charts can be used with 2 or more numeric columns. True False 3. The formula in a cell must begin with an equal sign (=). True Falsearrow_forwardPlease write the code in easy format and kindly show all the details in step by step of complexity count and the code Thanks in advancearrow_forward
- In PYTHON Print values from the Goal column only Print values only for columns: Team, Yellow Cards and Red Cards Find and print rows for teams that scored more than 6 goals Select the teams whose name start with a G Print values only for columns Team and Shooting Accuracy , and only for rows in which the team is either of the following: England, Italy and Spain Find and print rows for teams that scored more than 6 goals and at least 4000 passes Team Goals Shots on target Shots off target Shooting Accuracy Goals-to-shots (perc) Total shots (inc. Blocked) Hit Woodwork Penalty goals Penalties not scored Headed goals Passes Passes completed Passing Accuracy Touches Crosses Dribbles Corners Taken Tackles Clearances Interceptions Clearances off line Clean Sheets Blocks Goals conceded Saves made Saves-to-shots ratio Fouls Won Fouls Conceded Offsides Yellow Cards Red Cards Subs on Subs off Players Used Croatia 4 13 12 0.5 0.16 32 0 0 0 2 1076 828 0.769 1706 60…arrow_forwardGenerate a table of conversions from inches to centimeters. Start the inches column at 0.0 and increment by 0.5 in. The last line should contain the value 20.0 in. (Recall that 1 in = 2.54 cm.) Include a table heading and column headings for the tables.arrow_forwardIn PYTHON Print values from the Goal column only Print values only for columns: Team, Yellow Cards and Red Cards Find and print rows for teams that scored more than 6 goals Select the teams whose name start with a G Print values only for columns Team and Shooting Accuracy , and only for rows in which the team is either of the following: England, Italy and Spain Find and print rows for teams that scored more than 6 goals and at least 4000 passesarrow_forward
- Microsoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage Learning
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage LearningCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L