GIGO stands for
- a. great input, great output
- b. garbage in, garbage out
- c. GIGahertz Output
- d. GIGabyte Operation
In this case, “garbage in, garbage out” is abbreviated as GIGO.
Hence, the correct answer is option “B”.
Explanation of Solution
Garbage in, garbage out:
The word “garbage” means invalid data in the computer program. If the user enter invalid data as an input, the program returns unrecognizable output. The process of invalid input and output is called as “garbage in” and “garbage out”. The sentence “garbage in, garbage out” is abbreviated as “GIGO”.
Explanation for incorrect options:
Great input, great output:
It is an invalid abbreviation of “GIGO”. Great input and great out shows the user opinion of values. So, it is considered as invalid option.
Hence, the option “A” is wrong.
GIGahertz Output:
It is an invalid abbreviation of “GIGO”. The word “GIGahertz” is abbreviated as “GHz” and it refers the operating speed of CPU. So, it is considered as invalid option.
Hence, the option “C” is wrong.
GIGabyte Operation:
It is an invalid abbreviation of “GIGO”. The word “GIGabyte” is abbreviated as “GHz” and it refers the operating speed of CPU. So, it is considered as invalid option.
Hence, the option “D” is wrong.
Want to see more full solutions like this?
Chapter 7 Solutions
Starting Out with Programming Logic and Design (5th Edition) (What's New in Computer Science)
Additional Engineering Textbook Solutions
Starting Out with C++: Early Objects
Computer Science: An Overview (12th Edition)
Java: An Introduction to Problem Solving and Programming (7th Edition)
C How to Program (8th Edition)
Database Concepts (7th Edition)
- Problem: Suppose you want to compute the average temperature for the seven days in a week. You might use the following code: Scanner keyboard = new Scanner(System.in); System.out.println("Enter 7 temperature:"); double sum = 0; for (int count = 0; count < 7; count++) { double next = keyboard.nextDouble(); sum = sum + next; } double average = sum / 7; This works fine if all you want to know is the average. But let's say you also want to know which temperatures are above and which are below the average. Now you have a problem in order to compute the average, you must read the seven temperatures, and you must compute the average before comparing each temperature to it. Thus, to be able to compare each temperature to the average, you must remember the seven temperatures. How can you do this? The obvious answer is to use seven variables of the type of double. This is a bit awkward, because seven is a lot of variables to declare, and in other situations, the…arrow_forwardPLEASE GIVE ME THE ANSWER IN PYTHON language, please. I have asked for that in the last 3 questions and they answer in a different incorrect language. I apologize for starting off like that but could you please help me with the below. def display_averages_and_totals(self):try:with open ("HowManyHours.txt", "r") as file:#read data from filedata = file.readlines()total_credits = 0total_study_hours = 0except FileNotFoundError:print("HowManyHours.txt is not found.") for student in self.students:total_credits += student.creditstotal_study_hours += student.study_hoursaverage_credits = total_credits/ len(self.students)average_study_hours = total_study_hours/ len(self.students) print("Study Hours Report")print(f"Created for{self.report_for},{self.report_employee_id}")print(f"Department:{self.report_department}")print(f"Created By: {self.creator},{self.employee_id}")print(f"Department:{self.department}}")print(f"Total Students: {len(self.students)}")print(f"Average Credits:…arrow_forward(python) Write a few lines of code that would open a file named "Test.txt", read in all of the data and print out that data too.arrow_forward
- Create a python program that creates a new file (using write mode 'w'), writes your name on it, and close it. After that open, the file in read mode, read your name from the file and print it to the console.arrow_forwardNOTE: Please don't Copy Paste from another question similar to this. I looked through them and nothing works properly. Please write in Python and C++ language this given code.arrow_forward1. Random numbers File: random_numbers.py (Quick note: NEVER name your files the same as a Python module. If you call this file random.py it won't let you import the real random.) (Another quick note: Don't let yourself get stuck on something for too long. If one part of one question starts taking you too long, just leave it, move on and come back to it later.) Write a complete Python program that ask the user for quantity of random numbers and a maximum, then generates and store that many numbers between 0 and the maximum. When you've got this part working, add the following interesting additions: minimum maximum random choice from existing list (Hint: if there are 7 numbers it will be a number at a random index 0-6) the list reversed* the list sorted* Note*: Python's .reverse() and .sort() list methods do NOT return the reversed or sorted list... they modify the list in place.So, if you write something like: print(numbers.sort()) You will not get what you expect. You'll sort the…arrow_forward
- Create a short program that can read files, write to files, add files to a directory. Write in python.arrow_forwardI need help with this code. It keeps giving me the error "Traceback (most recent call last): File "main.py", line 29, in <module> plus() File "main.py", line 6, in plus num1 = float(input("Input the first number you'd like to add:"))TypeError: 'str' object is not callable" It would be great if you could help me. import math input = input("Enter either Plus, Minus, Multiply, or Divide exactly like listed") def plus(): num1 = float(input("Input the first number you'd like to add:")) num2 = float(input("Input the second number that you would like to add:")) num3 = float(input("Input the third number that you would like to add:")) num4 = float(input("Input the forth number that you would like to add:")) num5 = float(input("Input the fith number that you would like to add:")) print(num1 + num2 + num3 + num4 + num5) def minus(): x = float(input("Input the first number you'd like to subtract:")) y = float(input("Input the second number that you would like to…arrow_forwardthis file is named HW3.Java can someone run it through a GNU compiler and please show me the outputs the input arguements are $ java HW3 p1 p1.txt 6 import java.io.FileWriter;import java.io.IOException;public class HW3 {public static void main(String[] args) throws IOException {// 0th argument contains the name of algorithmString algo = args[0];// 1st argument contains the name of file// Make a new fileFileWriter fw = new FileWriter(args[1]);if (algo.equals("p1")) {// 2nd argument comes in the form of string.// convert it to intger and run a loopfor (int i = 1; i <= Integer.parseInt(args[2]); i++) {double[] x = new double[(int) Math.pow(10, i)];// use start and end for recording timelong start = System.currentTimeMillis();prefixAverage1(x);long end = System.currentTimeMillis();double totalTime = Math.log10(end - start);fw.write(String.valueOf(totalTime));String newLine = System.getProperty("line.separator");fw.write(newLine);}} else if (algo.equals("p2")) {for (int i = 1; i <=…arrow_forward
- Hi I need help with this python code. It keeps giving me the error: Traceback (most recent call last): File "main.py", line 29, in <module> plus() File "main.py", line 6, in plus num1 = float(input("Input the first number you'd like to add:"))TypeError: 'str' object is not callable" The code is below. import math input = input("Enter either Plus, Minus, Multiply, or Divide exactly like listed") def plus(): num1 = float(input("Input the first number you'd like to add:")) num2 = float(input("Input the second number that you would like to add:")) num3 = float(input("Input the third number that you would like to add:")) num4 = float(input("Input the forth number that you would like to add:")) num5 = float(input("Input the fith number that you would like to add:")) print(num1 + num2 + num3 + num4 + num5) def minus(): x = float(input("Input the first number you'd like to subtract:")) y = float(input("Input the second number that you would like to subtract:")) print(x…arrow_forward**This is a Assembly Language x86 Processors. The file needs to be in .asm file The code should not be too advance. Please submit the screenshot of the program and to text copy. Build a program that... Ask user for day of month (1 - 31) get value and save (add to month and year to this value) Ask user for month (1 - 12) get value and save Ask user for year (1980 - 2107) 2^7 = 128; 1980 + 128 = 2108 get value; subtract 1980(base), and save This is the part of the code. ; Day: 1-31 (5 bits) ; Month: 1-12 (4 bits) ; Year: 25-31 (7 bits) ; mov ax, day (day of year) ; shift left ax, 5b bits 0000000DDDD00000 ; add ax, month 0000000DDDDMMMM ; shift ax by 7 bits (left) DDDDMMMMM0000000 add year to ax DDDDMMMMMYYYYYYY ; ; date mov eax, edx and ax, 011111b ; call WriteDec ; month mov eax, edx shr ax, 5 and ax, 01111b call WriteDec ; year mov eax, edx sar eax, 9 add eax, 1980 calle…arrow_forwardWrite programs that will accomplish the desired tasks listed below, using as few lines of code as possible.Use only opcodes that have been covered in class. Comment on each line of code. m) Copy the external code byte at address 007Dh to the SPn) Copy the data in register R5 to external RAM address 032Fho) Copy the internal code byte at address 0300h to external RAM address 0300hp) Swap the bytes in TIMER 0 ; put TL0 in TH0 and TH0 in TL0q) Store DPTR in external RAM locations 0123h (DPL) and 02BCh (DPH)r) Exchange both low nibbles of registers R0 and R1 ; put the low nibble of R0 in R1, and the lownibble of R1 in R0s) Store the content of register R3 at the internal RAM address contained in R2. (Be sure the addressin R2 is legal)t) Store the content of RAM location 20h at the address contained in RAM location 08hu) Store register A at the internal RAM location address in register Aarrow_forward
- Programming Logic & Design ComprehensiveComputer ScienceISBN:9781337669405Author:FARRELLPublisher:CengageEBK JAVA PROGRAMMINGComputer ScienceISBN:9781337671385Author:FARRELLPublisher:CENGAGE LEARNING - CONSIGNMENT