Which of the following costs would be significantly impacted by poor readability?
Q: Which of the following outputs data in a program A The assignment statement B The print…
A: output statements helps in displaying output to screen.
Q: Given the following for loop, write a main program for it and rewrite the code so that it executes…
A: Answer: According to the given condition, the while loop block is Int i = 3; While (i < 18) {…
Q: is an operator which returns the memory size requirements in terms of bytes. * Size of Long Size…
A: Part 1) a) Size of Is correct option Explanation:- "To find the size of any variable or a data…
Q: Please solve the question by coding in Python. There are a total of 5 personnel in a company. Each…
A: Given:There are a total of 5 personnel in a company. Each of these personnel works 5 days a week for…
Q: Problem specification Aiden Nelinski is paid every Friday. He is scheduled to receive anywhere from…
A: Required:
Q: ONLY USE SHELL SCRIPTING AND NO OTHER LANGUAGES. MATCH OUTPUT AS IT IS.…
A: Algorithm: Start Read a,operator and b values If operator is '+', print a+b Else If operator is…
Q: Which programing structure, execute program statement in order?
A: The sequential programing structure allows executing program statements in order in which they…
Q: The impact of COVID-19 on the citizenry has not been good especially when it comes to buying of food…
A: Since no specific programming language is mention so writing it in C++ language. Prompt user to…
Q: to b? What value will be assigned to c?4. What will the following program display?def main():x = 1y…
A: def main():x = 1y = 3.4print(x, y)change_us(x, y)print(x, y)def change_us(a, b):a = 0b = 0print(a,…
Q: Which of the following is designed to control the operations of a Computer? a) User b) Application…
A: Answer the above questions are as follows
Q: 3. Which of the following is called address operator? * (e- b) & c) _ d) %
A: There is only a single operator that is used as the address operator. It is known as address…
Q: B. Which of these data types requir a. int b. short 4. What is the output after executin
A: 3.long 4.the remainder is2
Q: Code this in C. Project name : Survey Filenames: survey.h, survey.c, main.c Survey Data Analysis…
A: ****THE BELOW CODE IS IMPLEMENTED IN C BY USING DYNAMIC ARRAY*****
Q: plz plz plz .... USING little Man PROGRAM !!!!!!! NOT A programing language (c# , c++ .....) I…
A: the answer is given below:-
Q: The impact of COVID-19 on the citizenry has not been good especially when it comes to buying of food…
A: The program is implemented in C using procedural approach. Following is the program algorithm…
Q: EAD QUESTION CAREFULLY AND STRICTLY USE PROVIDE TERMS IN QUESTION AS IT IS. MATCH INPUT AND OUTPUT.…
A: Required: READ QUESTION CAREFULLY AND STRICTLY USE PROVIDE TERMS IN QUESTION AS IT IS. MATCH INPUT…
Q: Writing Report The report must contain:- 1. Introduction: - Brief explanation about your program. 2.…
A: Cash Calculator with user input Discount Percentage
Q: Python code. How do I use “str” to write the same code? Please provide the code. Thanks
A: This will print i+1 and the value at index i which is preceded by Homework/Quiz/Test/Final like…
Q: The exercise is about keeping track of the points for a 6 team sports league during a season,…
A: To write a c++ program for a 5 side football league. Pseudocode: 1.To first get number of teams…
Q: Write a Python program which accepts the user's first and last name and print them in reverse order…
A: fname = input('Enter First Name: ')lname = input('Enter Last Name: ')print('Full name : ',lname,…
Q: What happens if the following program is executed in C and C++? #include void main() {…
A: Given, We have to find what happens if the given program is executed in C and C++. Code:…
Q: Method used in writing and designing of a program is termed as a. bottom-up method b. top-down…
A: There are several approaches which are followed to complete a program or a software. These…
Q: Compiler-time errors are dete O a. Runtime b. Program termination O c Program execution
A: Compile-Time Errors: Compile-Time Errors that occur when you violate the rules of writing of…
Q: Which of the following is NOT a program translator? Debugger. B Compiler C Interprete. Assembler. D
A: According to the question below the solution:
Q: 9.Why do we use comments? a. For later use to understand the working of the program b. It is an…
A: the answer to the above mention question is given below ,here we have given the question about the…
Q: Create a program using c++ compiler that will ask for the username and password.
A: Given program is coded in C++ and the program and output are below.
Q: Q/Consider the C-programs below to determine the following requirements : 1- Write a brief…
A: Enter a number to calculate it's factorial 5 output:- fam(5)=120
Q: - Type the below into Python and see what happens. def reuse_code(): comment = input("Type something…
A: Here first we define function reuse_code(). Which promt user to Type something in then user will…
Q: Choose the correct answer * The following program contains #include using namespace std; int main…
A: 1. None Because the program in question one contains no comments either line comment or…
Q: Write a C++ program to create a class to read and add two distance in feet and inches.
A: As per our guidelines, only one question will be answered. So, please repost the remaining questions…
Q: _is used to translate a computer program into machine language so it can be executed. O interpretter…
A: Question 7 - a) Interpreter : Interpreter is a language translator software which is used to…
Q: What is the difference between directives and instructions?
A: Directives :- Directives are the commands that are recognized and acted upon by the assembler. They…
Q: Which of the following is considered as program block component? I. Identifiers II. Comments III.…
A: Program: Program is a set of instructions, A program is a executable software that runs on a…
Q: Question 3 Listen When we our code, we're turning the source code text into a working program,
A: Answer :
Q: Which of the following statements is not true? Select one: O a. Using function can make a program…
A: According to the Question below the Solution:
Q: program that reads and displays the age of 20 people (one after another) in sequence
A: To help the front desk in developing a program that reads and displays the age of 20 people (one…
Q: Q2) Choose the correct answer: 1. Every program in C++ must have more than one main () function. a.…
A: main() function is the entry point of any program. So, we cannot use more than one main() function…
Q: Python variables do not need explicit declaration to reserve memory space. Based on this statement,…
A: Step 1:- NOTE:-As per policy, we are entitled to answer the first question only. Python variables do…
Q: e some of the compiler
A: A compiler translates high-level language source code to low-level language. Compiler's relatives…
Q: 2.2 Given 4 integer variables a,b,c,d. Write a Fortran program to read input the values of a,b,c,d…
A: Write a Fortran program to read input the values of integer variables a,b,c,d from the user and…
Q: rams of the following. Thank you. 1. Write C++ program to create class for a student. This program…
A: Sorry as per the bartleby guidelines we can solve only one question for you if you want to another…
Q: We are given an array containg n numbers. All the numbers are present twice except for two numbers…
A: Given a array of n numbers, all numbers occur twice except two numbers which occur only once. Print…
Q: Hello, I require help answering these questions. Could you help me in answering the questions…
A: According to Bartleby Guidelines we need to answer only 3 sub questions so i have answered first…
Q: Computer Science Write an auxiliary function f which reads the number of local minima of the…
A: In the Minima () function, we launch two up and down variables such as array.length-1 and 0…
Q: Which of these is/are the reason why function is important in programming? It eliminates repetitive…
A: A function can be defined as the chunk or the part of the code, which is being used repetitively…
Q: Which of the follow are true about variables? Choose all that apply. variables are names bound to…
A: 1. A variable can eventually be associated with or identified by a memory address. The variable…
Which of the following costs would be significantly impacted by poor readability?
A.Executing
B.Compiling Programs
C.Writing Programs
D.Maintaining Programs
Step by step
Solved in 3 steps
- 371. The user can load and execute a program but cannot copy it. This process is? a. Execution b. Appending c. Reading d. Updating1. Mark the following statements as true or false. a. The calculating device called the Pascaline could calculate sums up to eight figures long. (1) b. All programs must be loaded into the CPU before they can be executed and all data must be loaded into main memory before it can be manipulated. (2) c. Main memory is an ordered sequence of cells and each cell has a random location in main memory. (2) d. The program that loads first when you turn on your computer is called the operating system. (2) e. Analog signals represent information with a sequence of 0s and 1s. (3) f. The machine language is a sequence of 0s and 1s. (3) g. A Binary code is a sequence of 0s and 1s. (3) h. A sequence of eight bits is called a byte. (3) i. One GB is MB. (3) j. In ASCII, A is the 65th character. (3) k. The number system used by a computer is base 2. (3) l. An assembler translates the assembly language instructions into machine language. (4) m. A compiler translates the source program into an object program. n. In a program, statements that begin with the symbol are called preprocessor directives (7) o. An object program is the machine language version of a high-level language program. (9) p. All logical errors, such as division by 0, are reported by the compiler. (9) q. In object-oriented design (OOD), a program is a collection of interacting objects. (10) r. An object consists of data and operations on that data. (10) s. ISO stands for International Organization for Standardization. (11)In a C++ program, preprocessor directives begin with which symbol? (8)
- The exercise is about keeping track of thepoints for a 6 team sports league during a season, perhaps a “5-a-side” football league, in whichthe goals scored by each team should be recorded. Take some time before diving into theprogramming. First, assess what the program is required to do and how you will go aboutproducing it. Develop and test your program step by step. Your completed program should:1. Prompt the user and read in the number of a team playing the current game, i.e. Team 1,Team 2, Team 3, etc.2. Prompt the user and read in the number of the opponent team. It is probably helpful to thinkof the first team as the home team for this game, and the second team as the away team.3. Prompt the user and read in a team’s score for the current game. Use the team’s numberwhen asking for the score in your printf statement.4. Prompt the user and read in the opponent’s score for that game. Again, use the opponent’steam number when asking for the score.5. Notify the user and repeat steps 3…The exercise is about keeping track of thepoints for a 6 team sports league during a season, perhaps a “5-a-side” football league, in whichthe goals scored by each team should be recorded. Take some time before diving into theprogramming. First, assess what the program is required to do and how you will go aboutproducing it. Develop and test your program step by step. Your completed program should:1. Prompt the user and read in the number of a team playing the current game, i.e. Team 1,Team 2, Team 3, etc.2. Prompt the user and read in the number of the opponent team. It is probably helpful to thinkof the first team as the home team for this game, and the second team as the away team.3. Prompt the user and read in a team’s score for the current game. Use the team’s numberwhen asking for the score in your printf statement.4. Prompt the user and read in the opponent’s score for that game. Again, use the opponent’steam number when asking for the score.5. Notify the user and repeat steps 3…When do preprocessor directives execute?A) Before the compiler compiles your programB) After the compiler compiles your programC) At the same time as the compiler compiles your programD) None of the above
- I’m having trouble with a computer science lab (C++) assignment and just need help figuring it out. It needs to include .cpp files and .h file(s).plz plz plz .... USING little Man PROGRAM !!!!!!! NOT A programing language (c# , c++ .....) I Write a Little Man program that prints out the multiples of 7 starting from 7 to 83. Also keep a running total and output at the end the sum of 7+14+...83. Turn in the code and a screen shot of the program at completion.Please using c++, and screen shot go program execution
- 193. Which of the following does not affects the execution of the program? a. Arguments b. Environment c. Control d. I/oThe impact of COVID-19 on the citizenry has not been good especially when it comes to buying of food and the payment for the provision of essential services such as light and water bills. After lockdown, the government decided to support customers by halving the customer’s light bills. a) Write a program to request for customer’s name, previous and current meter reading (in kwh) b) Your program should categorize customers into domestic, commercial and industrial based on the quantity of electricity consumed. The categorization should follow: 1. Domestic if less than or equal to 100 kwh is consumed;2. Industrial if more than 100kwh but less than or equal to 200kwhis consumed;3. Commercial when more than 200kwh is consumed c) Define a method to compute the amount to be paid based on the following consumption pattern, for:1. Domestic customers, 0.3 GHC per kwh for the first 60kwh and 0.5 GHC for the rest2. Industrial customers, 0.5 GHC per kwh for the first 120kwh and 0.75 GHC for the…I find these types of questions challenging due to a lack of understanding. Could you kindly provide a detailed and specific answer to assist me to answer the question below.question:Local variables in different blocks may have the same name. What is the output of the program?