Answer:
What
Explanation:
write a program to print. *
**
***
****
*****
Program:-
[tex]\tt for\:i \:in\: range(2,6):[/tex]
[tex]\tt\quad for\: j\: in \:range(1,i+1):[/tex]
[tex]\tt\quad\quad print("*",end='')[/tex]
[tex]\tt\quad print()[/tex]
Output:-
[tex]\tt **[/tex]
[tex]\tt ***[/tex]
[tex]\tt ****[/tex]
[tex]\tt *****[/tex]
what will the computer do in response to a line of code reading # name = input("What is your name?") print “What is your name?” print “name =” nothing return a syntax error
The computer will do nothing in response to the instruction # name = input("What is your name?")
The instruction is given as:
# name = input("What is your name?")
The above instruction is a Python instruction.
In Python, lines that begin with # are not executed, because they are treated as comments.
This means that, the computer will not do anything when it comes across the instruction
Read more about Python instructions at:
https://brainly.com/question/19344465
Fill in the blank: Every database has its own formatting, which can cause the data to seem inconsistent. Data analysts use the _____ tool to create a clean and consistent visual appearance for their spreadsheets.
The tool used by data analysts to create a clean and consistent visual appearance for their spreadsheets is called clear formats.
A database refers to an organized or structured collection of data that is typically stored on a computer system and it can be accessed in various ways. Also, each database has a unique formatting and this may result in data inconsistency.
In Computer science, a clean data is essential in obtaining the following:
Data consistencyData integrityReliable solutions and decisions.Furthermore, spreadsheets are designed and developed with all kinds of tools that can be used to produce a clean data that are consistent and reliable for analysis.
In this context, clear formats is a kind of tool that is used by data analysts to create a clean and consistent visual appearance for their spreadsheets.
Read more on database here: https://brainly.com/question/15334693
What is the output for the following program?
numA = 4
while numA <12:
numA = numA + 3
print(numA)
Output:
Answer:
13
Explanation:
int numA = 4;
whilie (numA < 12){
numA += 3;
}
System.out.print(numA);
numA numA < 12
4 true ⇒ numA increases by 3, loop continues
7 true ⇒ numA increases by 3, loop continues
10 true ⇒ numA increases by 3, loop continues
13 false ⇒ loop stops, program them prints out value of numA
Brake fluid is made up of a chemical that:
hi there!
Brake fluid is a type of hydraulic fluid used in hydraulic brake and hydraulic clutch applications in automobiles, motorcycles, light trucks, and some bicycles. It is used to transfer force into pressure, and to amplify braking force. It works because liquids are not appreciably compressible.
hope this helps.
Write a program which will -
• Enter the score the student got in the test.
• Enter the maximum number of marks for the test.
• Divide the score by the maximum to work out the percentage.
• Check to see if the percentage is greater than 52. If it is then say "well done you have at least a grade 5"
• If the percentage is less than 52 then display "Unlucky, you need to revise more for the next test."
Will give out brainliest :)
Answer:
down below
Explanation:
score = input() # gets student's score input
max = input() # gets max number
percent = (score/max)*100 # multiply by a hundred to get percentage
if percent > 52: # checks if percent is greater than 52
print("well dont you have at least a grade 5")
else # if percent is less than or equal to 52 it will print this instead
print("Unlucky, you need to revise more for the next test.")
THIS PART IS NOT CODE:
make sure you indent/tab the print statements or else you'll get an error
congress are smart becuase.....
Answer:
If we are talking about government then they are smart bc of there two house policies, both are equal yet super unique. They make sure each state has an equal voice in the senate.
susan wrote the recursive formula for the sequence represented by the exploit formula An=3+2n. put an C net to any correct statements are correct her error
The recursive formula of the explicit formula [tex]A_n = 3 + 2n[/tex] is [tex]A_n = A_{n-1} + 2[/tex]
The explicit formula is given as:
[tex]A_n = 3 + 2n[/tex]
When n = 1, we have:
[tex]A_1 = 3 + 2(1)[/tex]
[tex]A_1 = 5[/tex]
When n = 2, we have:
[tex]A_2 = 3 + 2(2)[/tex]
[tex]A_2 = 7[/tex]
When n = 3, we have:
[tex]A_3 = 3 + 2(3)[/tex]
[tex]A_3 = 9[/tex]
So, we have:
[tex]A_1 = 5[/tex]
[tex]A_2 = 7[/tex]
[tex]A_3 = 9[/tex]
Rewrite the functions as follows:
[tex]A_1 = 5[/tex]
[tex]A_2 = 5 + 2[/tex]
[tex]A_3 = 7 + 2[/tex]
So, we have:
[tex]A_1 = 5[/tex]
[tex]A_2 = A_1 + 2[/tex]
[tex]A_3 = A_2 + 2[/tex]
Express 2 as 3 - 1
[tex]A_3 = A_{3-1} + 2\\[/tex]
Substitute n for 3
[tex]A_n = A_{n-1} + 2[/tex]
Hence, the recursive formula is [tex]A_n = A_{n-1} + 2[/tex]
Read more about recursive and explicit formulas at:
https://brainly.com/question/11235928
Please help explain Loops question. I will give brainliest.
Answer:
And 1 and 2 and 3
Explanation:
It is asked to display the 'and' every time, and the count is equal to 1 plus the previous count starting at zero, so it runs 3 times
PLEASE I NEED HELP ASAP PLEASE PLEASE!!!
For a list of numbers entered by the user and terminated by 0, find the sum of the positive numbers and the sum of the negative numbers. C++ language only.
Answer:
Following are the program in the Python Programming Language
#set variables to 0
positive_sum=0
negative_sum=0
#print message
print("Enter 0 to terminate")
#set the while loop
while(True):
#get input from the user
num=float(input("Enter positive or negative numbers: "))
#set if statement to check condition
if(num==0):
break
elif(num>0):
positive_sum+=num
else:
negative_sum+=num
#print output with message
print()
print("sum of positive numbers: ", positive_sum)
print("sum of negative numbers: ", negative_sum)
Output:
Enter 0 to terminate
Enter positive or negative numbers: 1
Enter positive or negative numbers: 3
Enter positive or negative numbers: 5
Enter positive or negative numbers: -7
Enter positive or negative numbers: -2Enter positive or negative numbers: 0
sum of positive numbers: 9.0
sum of negative numbers: -9.0
Explanation:
Here, we set two integer data type variables "positive_sum", "negative_sum" and initialize to 0.
Then, we set the while infinite loop inside the loop.
Set a variable "num" and get input from the user in it.
Set the if conditional statement and check condition the variable "num" is equal to 0 then, loop will terminate.
Set the elif statement and check condition the variable "num" is greater than 0 then, add that input and store in the variable "positive_sum"
Otherwise, add that input and store in the variable "negative_sum".
Finally, we print the output with the message.
Pls help me pls I’m struggling
write a program to print even numbers from 1 to 20
Answer:
If qbasic then
pls mark barinist
Answer:
print(“2 4 6 8 10 12 14 16 18 20”)
when demonstrating 2022 versa’s maneuverability, what available systems should you point out when backing up?
When demonstrating 2022 Versa's maneuverability, what you should you point out while driving in a parking lot is the excellent rearward visibility that is given or shown by the RearView Monitor.
2022 Nissan Versa is a new model by Nissan. They are known to have different technology and safety features. Its includes automatic emergency braking with pedestrian detection, remote keyless entry etc.
This vehicle comes with 2 functions such as a 5-speed manual transmission or an Xtronic Continuously Variable Transmission. With this one can quickly adjusts to the best gear ratio for a easyy acceleration and efficiency.
Learn more about 2022 Versa's from
https://brainly.com/question/25980600
Katie is writing a print statement but nothing is printing. Which of the following should she check for?
A.
Make sure the print statement is surrounded by parentheses.
B.
Make sure the word print is in all capital letters.
C.
Make sure there is a colon after the print statement.
D.
Make sure the next line after the print statement is indented.
Answer:
A.
Explanation:
Parenthesis are required to be around the data in a print function. All the letters in a print statement should be lowercase. A colon isn't required after a print statement. Indentation is not needed for a print statement because there are no colons after the statement instead. Here's an example where you would need to indent the line:
def randNum( x, y ):
x = input("Enter number: ")
y = input("Enter number: ")
return x * y
Here's an example of a print statement:
print("My name is Sullen.")
One of the best ways to code effective programs is to write so-called _______ programs, using the sequential, selection, or repetition logic structures.
One of the best ways to code effective programs is to write so-called structured programs, using the sequential, selection, or repetition logic structures.
Structured programs are program types that aim to improve the clarity of program codes to make them readable and reusable.
Structural codes such as the if/then/else for selection and while/for repetition are used to achieve these goals.
So, structured programs are used to write programs that follow the sequential, selection, and repetition logic structures.
Learn more about structured programs here:
https://brainly.com/question/25770844
create a parameter query where the user will enter a value to use as the criterion
Understanding that protection of sensitive unclassified information is:
Answer:
Not necessarily malignant
Explanation:
As the word "unclassified" shows it's not damaging, however I still doesn't recommend if it's not necessary.
Write true or false:-
1. The start attribute always accept an integer value.
2. Description list is used to create a bulleted list.
3. The <DT> tag is used to create a table in HTML.
4. The <TR> tag is used to create cells in the table.
5. The VALIGN in attitude of the <TD> tag is used to Align the position of text in the cell vertically.
And please don't give only one answer, if you are giving, then please give all the answers.
Answer:
false
true
false
true
false
Explanation:
.
If you know that a file for which you are searching starts with the letters MSP, you can type ____ as the search term.
Sidney needs to create a decimal number variable that will be added to another number. What kind of variable is required?binaryBooleanstringfloat
What are two characteristics of switches? (Choose two.) * 1 point A. Switches identify the intended destination of the data that they receive B. Switches cause more data collisions than hubs b C. Switches are capable of sending and receiving data at the same time D. Switches send each packet to all of the computer that are connected to them.
Answer:
A. Switches identify the intended destination of the data that they receive. And C. Switches are capable of sending and receiving data at the same time
Explanation:
Switches can be used as inputs (Analog), or outputs (digital). These inputs and outputs are signals that the switches send or receive- Or at least as push button switches... But the same applies to network switches.
Hope this helps! Have a great day!
________ is a function pertaining to a particular database that develops procedures and practices to control and protect the database.
Answer: Database administration
Explanation:
can’t be opened because apple cannot check it for malicious software.
Answer:
try to reset your computer.
Explanation:
Aliaa and Zhang Li are tennis-playing robots. Aliaa is 715\,\text{cm}715cm715, start text, c, m, end text from Zhang Li and 2{,}200\,\text{cm}2,200cm2, comma, 200, start text, c, m, end text from the far corner. Zhang Li measures an 91\degree91°91, degree angle between Aliaa and the far corner, as shown.
From Aliaa's viewpoint, what is the angle between Zhang Li and the far corner?
Do not round during your calculations. Round your final answer to the nearest degree.
Answer:
70
Explanation:
Law of Sines.
sin(91)/12 = sin(x)/715
x=19
180-91-19=70
lenny joggy along a trail for 1.35 hours he ran at a pace of 3.2 miles per hour. how far did lenny jog?
Answer:
Lenny jogged along a trail for 1.35 hours. He ran at a pace of 3.2 miles per hour. How far did Lenny jog? Answer Lenny jogged 4.32 miles.
Explanation:
Write a program that outputs "Hello World!".
what is a copy of a theme with different color schemes called?
Answer:
A copy of a theme with different color schemes is called a Variant
Explanation:
Pomelo and Calamansi Trees are type of plants that suitable in this method.A. Cleft-Grafting B. Marcotting C. Layering D. T-Budding
the service you are attempting to use is restricted
Services can be restricted due to different factors. If when an individual have received calls on their cell phone and the device's caller ID shows "Unavailable" or "Restricted," It can be due to a lot of factors.
Note that caller ID designations are brought about by the settings on the caller's end or network restrictions and not the phone's settings.
When a Cell phone calls designated shows "Unavailable" on a phone's caller ID, it means that the placed from an area or region is, is where the wireless service provider or phone company cannot be able to retrieve that phone number.
A "Restricted" phone call is said to be a call from a caller who has blocked one's phone so that you cannot identify their number.
Learn more about restricted from
https://brainly.com/question/15870692
Megan owns a small neighborhood coffee shop, and she has fifteen employees who work as baristas. All of the employees have the same hourly pay rate. Megan has asked you to design a program that will allow her to enter the number of hours worked by each employee and then display the amounts of all the employees’ gross pay. You determine that the program should perform the following steps:
1. The text that is in the file is stored as one sentence. Incorporate the code that reads the file’s contents and calculates the following:
a. total number of words in the file
b. total average number of words per sentence
c. total number of characters in the file
d. total average number of characters per sentence
file name: employee_names.txt
file text:
George Thomas
Melinda Harris
Norah Jeddery
Jorge Ortiz
Samantha Gregory
Tanvi Gupta
William Edwards
Tania Gomez
Erica Sanders
Gracie Lou Freebush
Tony Montana
Obi-Wan Kenobi
Cruella De Vil
Marty McFly
Napoleon Dynamite
Answer:
she gives 10 dollars an hour
Explanation:
no