84. Comments are used to make program easily understandable, these are also known as a. marked variables b. narrative c. unmarked strings d. unmarked variable
Q: If object a = new Object(); and object b = new Object(); , then a = b. O True O False
A: Answer is False.
Q: Write a program that calculates the average word length in a sentence entered by a user.
A: please do upvote for mt efforts thanks! answer: if __name__ == '__main__': s = input("Enter the…
Q: 10. Please read the description of the topic and the prompt information carefully, and give an…
A: Answer has been explained below:-
Q: Code a program called Details that will input a person's name, ID number, height in metres and…
A: Note:- As per Guidelines, I am only allowed to answer first question until student has asked for a…
Q: A subject has an assignment and an exam. Both the assignment and exam are marked out of 100. The…
A: The solution of given program contain the following terms:Input: Student Name, Assignment marks and…
Q: ion 2: Write a program to display first letter name then four letters later or before
A: Q.
Q: Java quiz const variables are the ones declared as :
A: Java is a high level, class based, object oriented programming language that is designed to have as…
Q: A __________ can occupy multiple consecutive lines in a program. a. block comment b. square comment…
A: Block comment: A block comment will start with forward slash and an asterisk (/*) and the ends with…
Q: Assignment 2 Q1-Write a program in java to accept a grade and declare the equivalent description:…
A: Find Your Code Below
Q: Declare five variables a, b, c, d, e, and f. Assign a a number literal between 5 and 15 and assign b…
A: NOTE - I have report output here executed by C++ compiler. /* Initialization of given variables…
Q: Exercise 1: Ask the user to type a string. Count and display the number of vowels (a,e,i,o,u). Print…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: trade it with the past character in the string (if it exists). This activity is addressed as L;…
A: Here have to determine about the String and Operations programming problem statement.
Q: ndicate the variables types for the listed variables below and briefly explain (one or two…
A:
Q: Write a program asking for the Exam Score. The program then will display a remark if FAILED or…
A: Given: To write a program In C++ asking for exam score and then display a remark FAILED OR PASSED.…
Q: Task • Enter 3 subject marks and find the average. Print out the output base on the table below:…
A: We are going to find the average of 3 subject marks and based on the average we will print outputs.…
Q: Write a panda program to add two pandas series. You can assume series as your own
A: Required:- Write a panda program to add two pandas series. You can assume series as your own.…
Q: What is the output of the following program? Note that the program contains several comments.…
A: println prints the statement in new line // is used to represent single line comments /* */ is used…
Q: Write a program to store the name of two students and their mark of two subjects. Display the…
A: Program Approach - Define the main function. Prompt user to enter the names of student1 and…
Q: Write a program that extracts from a text all dates written in format DD.MM.YYYY and prints them on…
A: Actually, python is a easiest programming language. It is a dynamically typed programming language.
Q: Write a Visual Basic code (use Select Case). the progr
A: Q)Write a Visual Basic code (use Select Case). the programme will read the variable Percentage that…
Q: Draw a flow chart for a program that will get the name and final exam results for all DPS20043…
A: A flowchart is a graphical representation of an algorithm. It is simply a graphical representation…
Q: CS101: Lab #6 Conditionals and Loops Part I 1. Write a program that takes as input a single…
A: Input : Letter grade from the user. Output : Comment according to the grade.
Q: The following statement, x = 5; is the first assignment of x within a valid sketch. It can be…
A: Answer :- option D) an initialization
Q: Write a program in which the Nibble Monster keeps asking for nibbles until the user enters 'Q' or…
A: NOTE : Since programming language is not mentioned. Therefore answering question in python language.…
Q: Question * *** ***** ******* ***** *** * Output. Seven lines of output as follows: The…
A: You have done a great job here. Here you just have to use the print statements to print the give…
Q: William is facilitating a get-together for n of his broker companions. They began a conversation on…
A: Here have to determine about William's companion problem statement.
Q: Based on this program, write a flow charts. Addendum: allow user input. */ // set up…
A: - We need to highlight the flow chart on the basis of the code provided.
Q: Q5-What will be the output of the following code?A=100; if(A>99) clear A; end A never gets stored in…
A: Given: What is the output of the following code .
Q: Graphic DFD wit decrebtion about shop
A: Graphic DFD wit decrebtion about shop
Q: a line of text, replaces all 1. Write a program that inputs punctuation marks with spaces.
A: Hey, since there are multiple questions posted, we will answer first question. If you want any…
Q: write simple code in Python and mention comments at each and every step of code (mandatory)
A: # implement beam search algorithm # take beam width as input, start goal and end goal, graph as…
Q: Write a program to display the time and the date, put a suitable design.
A: Write a program to display the time and the date, put a suitable design. Note: Since you have not…
Q: IN PYTHON ONLY: Write a program that uses radio buttons to select background colors for text, as…
A: #Python Radiobutton using Application
Q: 2. Write a program asking for the Exam Score. The program then will display a remark if FAILED or…
A: Create a class first. Then use scanner class to read input from user. Scanner class can be found in…
Q: ensorship. Create a program that reads text, and produces a new output text in which all four-letter…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: 4. Write a simple program that checks the coordinates of a point taken from a user and identifies…
A: Code: //include the required headers #include<iostream> using namespace std; //main method…
Q: Question 2: Write a program to check responses of a student to the multiple-choice final exam. The…
A: C++ used to answer this question
Q: Each of the following programs contains exactly one syntax error. Find the error and correct it.…
A: Below are the errors for all the three programs:
Q: The use of computers in education is referred to as computer-assisted instruction (CAI). One problem…
A: ANSWER : Algorithm: 1. Generate question and correct answer 1.1 Generate two…
Q: In a program, a may fill several consecutive lines. block comment b. square comment c. multiline…
A: Task : Choose the correct option for given question.
Q: A category of the above substrings of the source program is called
A: Hi and thanks for your question! Unfortunately it looks incomplete. Please resubmit the question…
Q: Write a program to Check whether an integer is odd or even. Please provide comments for each
A: C Program to check Even or Odd #include <stdio.h> int main () { int num; print f…
Q: Question 2 options: Substrings of the source program that belong together are called
A: Solution : - Substrings of the source program that belong together are called lexical analyzer…
Q: Declare a string variable containing the name of your favorite color, initialize it as a null…
A: Actually, string is a sequence of characters.
Q: A company pays an employee $5 per hour if he works 40 hrs. or less. If more than 40 hrs. he gets $9…
A: Note: Implemented program that uses #include<stdio.h>
Q: SUPPLEMENTAL ACTIVITIES 1. Write a parameter and return program that will require the user to enter…
A: Solution: C++ PROGRAM: #include <iostream> using namespace std; // Function header and…
84. | Comments are used to make |
a. | marked variables |
b. | narrative |
c. | unmarked strings |
d. | unmarked variable |
Step by step
Solved in 2 steps
- AHPA #3: Ice Cream * * Bob’s Ice Cream sells four types of ice cream: vanilla, chocolate, * mint, and strawberry. * * Bob's Ice Cream sells ice cream from trucks that are parked at two * different corners. They sold {$11.5, $15.75, $22, $7.25} on Saturday * and {$12.75, $9.25, $16.5, $21} on Sunday [note sales are in vanilla, * chocolate, mint, and strawberry order]. * * Create an enum for flavors: enum flavors {vanilla, chocolate, mint, * strawberry}; * * Create a program that allows a user to enter the type of ice cream * sold. * * Create a program that allows a user to enter the sales data. * * Load two one-dimensional arrays with Bob’s entered sales data. Only * index your arrays using an enum variable (enum flavors index = * vanilla; corner1Sales[index] = 11.5;) * * Sum the contents of the flavors in the arrays together. * * Print out the resulting flavors and their sum with Bob's total sales. * please with commentAHPA #3: Ice Cream * * Bob’s Ice Cream sells four types of ice cream: vanilla, chocolate, * mint, and strawberry. * * Bob's Ice Cream sells ice cream from trucks that are parked at two * different corners. They sold {$11.5, $15.75, $22, $7.25} on Saturday * and {$12.75, $9.25, $16.5, $21} on Sunday [note sales are in vanilla, * chocolate, mint, and strawberry order]. * * Create an enum for flavors: enum flavors {vanilla, chocolate, mint, * strawberry}; * * Create a program that allows a user to enter the type of ice cream * sold. * * Create a C program that allows a user to enter the sales data. * * Load two one-dimensional arrays with Bob’s entered sales data. Only * index your arrays using an enum variable (enum flavors index = * vanilla; corner1Sales[index] = 11.5;) * * Sum the contents of the flavors in the arrays together. * * Print out the resulting flavors and their sum with Bob's total sales. * please with commentInstructions: Circle T if the statement is true. F if the statement is false, or write the best answer in the space provided. Turning in a copy of a poem you found on class assignment is an example of ________.
- These values when define in the program cannot be manipulated or be changed to another value?A. LiteralsB. integersC, StringsD, ConstantsFill in the blanks: Q. Red __________________ Blue is Better known as _______________.200-500 words per explanation and avoid plagiarism. I. Explain the following in your own words without copying it from anywhere. Give examples each in your explanation. a. Class hierarchies b. Algorithms c. Flowcharts d. Control structure
- please help me write the code def zoom I'm not understanding (picture). Please we can't use use dictionaries, sets, 'break'.or import a library or other moduleFlowcharts of each Programming Task. a. vowelsconsonants b. guessing game c. password #include <iostream>#include <cstring>#include <ctime>#include <cstdlib> using namespace std; string response1, response2, response3, response4;int response; (next to this is void vowelsconsonants() then void startingup() the code is in the picture) void guessinggame(){ start: startingup(); const int size= 4; srand(time(0)); string pool [size] = {"Motherboard", "CPU", "Monitor", "Graphics Card"}; for (int i = 0; i < size; i++) { int word = rand ()% size; string change = pool[i]; pool[i] = pool[word]; pool[word] = change; } for (int i=0; i<1; i++) { if (pool[i] == "motherboard" || pool[i] == "Motherboard" || pool[i] == "MOTHERBOARD" || pool[i] == "MotherBoard") { cout << "\nGuess: It's a printed circuit board that's built inside a computer's casing." <<endl;…C++ Visual Studio 2019 Instructions Complete #7. This is dependent of your completing MathStack within the chapter. 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.
- 3 Computer Science Write a Visual Basic code (use Select Case). the programme will read the variable Percentage that will be entered by the user in a Text Box, then display the description using a Label as in the following table: Percentage Description 70 – 100 First Class 60 – 69 Second Class 50 – 59 Third Class 40 – 49 Pass Class 0 – 39 FailFlowchart, create. Using Python's Built-in Methods in Python sample = input("Enter a string or done when you want to quit: ") def lower(sentence): return sentence.lower() def upper(sentence): return sentence.upper() while sample != "done": # Call the lower method here and print the result. result=lower(sample) print("Lowercase: " + result) result=upper(sample) # Call upper method here and print the result. print("Uppercase: " + result) sample = input("Enter a string or done when you want to quit: ")Instructions The files provided in the code editor to the right contain syntax and/or logic errors. In each case, determine and fix the problem, remove all syntax and coding errors, and run the program to ensure it works properly. An example of the program is shown below: Enter name Juan Hello, Juan! Task 1: The DebugThree3 class compiles without error. Task 2: The getName() method accepts user input for a name and returns the name value as a String. Task 3: The displayGreeting() method displays a personalized greeting. Task 4: The DebugThree3 program accepts user input and displays the correct output.