Answer:
7^2
Explanation:
7^2 is the same as 7*7
Answer:
7^2 ( ^ ) this sign help us
Identify the type of data for each value below.
12.023
"Hello World
52
12.023 is float
"Hello World" is string
52 is int
Your teacher is nice. She/He has given it in the order.
The type of data for 12.023 is a float, "Hello World is a string, and 52 is a int.
What are the type of data?The type of data in computer science can be given as the data values that helps in the analysis of the type of operation that is to be performed. The data types in python are given as classes.
The type of data type is:
The point numbers are given as floating. Hence, 12.023 is a float.The text form is given as string or str data type. Hence, "Hello World is a string.The whole numbers positive or negative are given as integers or int. Hence, 52 is a int.Learn more about data type, here:
https://brainly.com/question/22574321
#SPJ2
Businesses with very large sets of data that need easy access use sets of cartridges with robot arms to pull out the right one on command.This is known as______.
a.
removable hard drives
b.
smart cards
c.
mass storage
d.
USB drives
Answer:
C. Mass Storage
if incorrect then:
A. Removable Hard Drives
For this assignment, you will create a calendar program that allows the user
to enter a day, month, and year in three separate variables as shown below.
Day:
Month:
Year:
Then, your program should ask the user to select from a menu of choices
using this formatting
Menu:
1) Calculate the number of days in the given month.
2) calculate the number of days left in the given year.
I would really appreciate it if someone could help me on this.
Following are the program to the given question:
Program Explanation:
Defining three methods "leap_year, number_of_days, and days_left " is declared. In the "leap_year" method, it accepts the year variable, which calculates the year is the leap year and returns its value that is 1. In the next method "number_of_days", it is define which accepts the "year and month" variable in the parameter and calculate and returns its value. In the last "days_left" method, it calculates the left days and returns its value, and outside the method, two dictionary variable days_31 and days_30 is declared. It initilized a value by using 3 input variable "day, month, and year" variable which accepts user-input value. In the next step, a "c" variable is declared, that input values and calls and print its value accordingly.Program:
def leap_year(y):#defining a method leap_year that takes one parameter
l= 0#defining l variable that holds an integer
if y % 4 == 0:#using if block that check year value module by 4 equal to 0
l = 1#holding value in l variable
if y % 100 == 0:#using if block that check year value module by 100 equal to 0
l = 0#holding value in l variable
if y % 400 == 0:#using if block that check year value module by 400 equal to 0
l= 1#holding value in l variable
return l#return l value
def number_of_days(m, y):#defining a method number_of_days that takes two parameters
months = {1: 31, 3: 31, 4: 30, 5: 31, 6: 30, 7: 31, 8: 31, 9: 30, 10: 31, 11: 30, 12: 31}#defining months variable that hold value in ictionary
l = leap_year(y)#defining l variable that calls leap_year method and holds its value
if l == 1 and m == 2:#use if that check l value equal to 1 and 2
return 29#return value 29
if m == 2:#use if that check month value equal to 2
return 28#return value 29
return months[m]#return months value
def days_left(d, m, y):#defining a method days_left that takes three variable in parameter
l = leap_year(y)#defining l variable that hold leap_year method value
days = 0#defining days variable that hold integer value
months = {1: 31, 3: 31, 4: 30, 5: 31, 6: 30, 7: 31, 8: 31, 9: 30, 10: 31, 11: 30, 12: 31}#defining months variable that hold value in ictionary
if l== 1:#using if that check l equal to 1
if m > 2:#defining if that check m value greater than 2
days += (29 + 31)#using days variable that Calculate holds its value
i = m#defining i variable that holds months value
while i > 2:#defining while loop that checks other days
days += months[i]#defining a days variable that holds months value
i -= 1#decreasing i value
days -= (months[m] - d)#defining days that subtracts leap value
elif m == 2:#defining elif block that checks m equal to 2
days += (29 - d) + 31#holding value in days variable
else:#defining else block
days = 31 - d#Calculating days value
return 366 - days#using return keyword that Calculates days value
else:#defining else block
if m > 2:#using if that checks m value greater than 2
days += (28 + 31)#Calculating and store value in days
i = m#holding months value in i
while i > 2:#defining while loop that checks i value greater than 2
days += months[i]#holding list value in days
i -= 1#decreasing i value
days -= (months[m] - d)#defining days that subtracts leap value
elif m == 2:#using elif block that checks m value equal to 2
days += (28 - d) + 31#Calculating and store value in days
else:#defining else block
days = 31 - d##Calculating and store value in days
return 365 - days#return total days
print("Please enter a date")#print message
day = int(input("Day: "))#input value
month = int(input("Month: "))#input value
year = int(input("Year: "))#input value
print("Menu: ")#print message
print("1) Calculate the number of days in the given month.")#print message
print("2) Calculate the number of days left in the given year.")#print message
c = int(input())#input value
if c == 1:#using if that checks c value equal to 1
print(number_of_days(month, year))#calling method and print its return value
elif c == 2:#using if that checks c value equal to 2
print(days_left(day, month, year))#calling method and print its return value
Output:
Please find the attached file.
Learn more:
brainly.com/question/16728668
how to beat level 50 in give up robot 2
Answer:
just follow the steps and and become tough calm but tough
2.4 Code Practice: Question 1
Write the code to input a number and print the square root. Use the absolute value function to make sure that if the user enters a negative number, the program does not crash. How do I do this in python ???
Code in Python:
num = float(input("Enter any number : "))
ab = abs(num)
sqrt = float(ab ** 0.5)
print(sqrt)
The code to input a number and print the square root is,
import math
# Input a number from the user
number = float(input("Enter a number: "))
# Use the absolute value function to handle negative numbers
abs_number = abs(number)
# Calculate the square root using the math module
sqrt_number = math.sqrt(abs_number)
# Print the square root
print(f"The square root of {number} is {sqrt_number}")
Given that,
Write the code to input a number and print the square root.
Now, A code snippet in Python that accomplishes what you described:
import math
# Input a number from the user
number = float(input("Enter a number: "))
# Use the absolute value function to handle negative numbers
abs_number = abs(number)
# Calculate the square root using the math module
sqrt_number = math.sqrt(abs_number)
# Print the square root
print(f"The square root of {number} is {sqrt_number}")
In this code, the abs() function ensures that even if the user enters a negative number, it will be converted to its positive equivalent before calculating the square root.
The math.sqrt() function is used to compute the square root, and the result is printed using the print() function.
To learn more about Function visit:
https://brainly.com/question/11624077
#SPJ6
What can you add to your presentation from the Insert tab?
Animations
Pictures
Variants
Transitions
Answer:
B. PICTURES
Explanation:
Answer:
I know its late but pictures is the answer.
Explanation:
I took the test and got it right.
which of these options highlights the need for learning algorithms
A. Algorithms help you draw neat diagrams
B. Algorithms help you create easily understandable programs
C. Algorithms help you learn assembly-level language
D. Programmers can code using algorithms only
Answer: D.
Explanation:
Answer:
The answer is B. Algorithms help you create easily understandable programs
Explanation:
I got it right
I need help please !!!!
Answer:
Second one
Explanation:
evaluation of ur problems
Sam needs to create a spreadsheet for his coworkers. They will need to follow across a long row of data. Sam would like to make his spreadsheet easy to read. Sam should _____.
Complete Question:
Sam needs to create a spreadsheet for his coworkers. They will need to follow across a long row of data. Sam would like to make his spreadsheet easy to read. Sam should _____.
Group of answer choices
A. make some formatting changes such as adding a fill color to every other row.
B. change the text color to light green and change the fill color to red.
C. leave the spreadsheet without any format changes.
D. highlight the cells.
Answer:
A. make some formatting changes such as adding a fill color to every other row.
Explanation:
A spreadsheet can be defined as a file or document which comprises of cells in a tabulated format (rows and columns) typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems.
Some examples of spreadsheet software applications are Microsoft Excel, Lotus symphony, iWork numbers, Google sheets etc.
In this scenario, Sam needs to create a spreadsheet for his coworkers. They will need to follow across a long row of data with informations such as name, age, gender, education, experience, address, date of birth, nationality, relationship status etc. Also, Sam would like to make his spreadsheet easy to read.
Hence, Sam should make some formatting changes such as adding a fill color to every other row by selecting the preferred row and choosing a specific color that he wants such as red, white, green, blue, yellow etc.
Basically, formatting a spreadsheet with different colors makes it easy to read and enhances quick location of specific information in the spreadsheet by the end users.
Animal wisdom/ the last wolf .compare and contrast the overall feeling of each poem
I don't understand how to do these. It's python by the way.
Answer:
Disclaimer: I dont put the Euler, magic word, and another variables, you need to do this
Explanation:
1°
print(eulersNumber[16])
print(eulersNumber[26])
print(eulersNumber[31])
2°
print(magicWords[:3]+magicWords[8:10])
3° I dont know how i can make this
4°
print(a[::-1])
print(b[::-1])
print(c[::-1])
print(x[::-1])
print(y[::-1])
Have a nice day
_____moves the head to proper track
a.
Seek
b.
Data transfer
c.
Rotate
d.
Settle
What does a network backbone do?
allows data to be delivered more quickly and efficiently
makes data transfer from the cloud more secure
connects different network functions, such as printers and modems
configures random local networks in major cities that make up the Internet
Answer:
configures random local networks in major cities that make up the internet.
Answer:
D
Explanation:
write a paragraph about ICT?
Answer:
ICT (information and communications technology or technologies) is an umbrella term. It includes any communication device or application, such as radio, television, cellular phones, computer and internet, satellite systems and so on. Videoconferencing and distance learning is a very important part of ICT.
Which MLA web source citations are formatted correctly? Check all that apply.
Wolfson, Elijah. “Newsweek Names a Mars Crater.” Newsweek. Newsweek, 28 Feb. 2014. Web. 1 Mar. 2014.
Herman, Barbara. “Where’s the Fire?” Newsweek. Newsweek, 24 Oct. 2013. Web. 25 Feb. 2014.
Niesen, Joan. “Learning to Cope: Disabled Vet Hunt Finds Freedom as Paralympic Skier.” Sports Illustrated. Web. 27 Feb. 2014.
A Mighty Girl. N.p., n.d. Web. 26 Feb. 2014.
Kloc, Joe. “Kepler Mission Finds Hundreds More Planets.” 2 Feb. 2014. Web. 25 Feb. 2014.
Answer:
Explanation:
A,B on exp.
The correct MLA web source citations are:
Wolfson, Elijah. “Newsweek Names a Mars Crater.” Newsweek. Newsweek, 28 Feb. 2014. Web. 1 Mar. 2014.Others are:
Herman, Barbara. “Where’s the Fire?” Newsweek. Newsweek, 24 Oct. 2013. Web. 25 Feb. 2014. What is MLA citation?MLA in-text citation style is known to be a citation method that is often used in citing authors. Her one often uses the author's last name and the page number from where the work is taken from.
A good example of this MLA web source citations is:
Wolfson, Elijah. “Newsweek Names a Mars Crater.” Newsweek. Newsweek, 28 Feb. 2014. Web. 1 Mar. 2014.Learn more about MLA web source from
https://brainly.com/question/26110488
#SPJ2
Where do high tides occur? (Select two.)
WILL GIVE BRANLEST PLS ASAP
only at the South Pole
on the side of Earth opposite the moon
on the side of the Earth facing the moon
only at the North Pole
at both the North and South Poles
Answer: The Moon's gravitational pull generates something called the tidal force. The tidal force causes Earth—and its water—to bulge out on the side closest to the Moon and the side farthest from the Moon. These bulges of water are high tides. High tide (left) and low tide (right) in the Bay of Fundy in Canada.
Explanation:
So the two I think will be 1. On the side of the earth facing the moon and I think both south and North Pole
What is the purpose of the introduction in an expository essay? A. to introduce the author and his or her dedication B. to highlight the main points of the essay C. to describe the supporting details D. to provide a figurative interpretation of the essay
Identify 5 way computer are used in weather forecasting an traffic control
Answer:
Computers are used for interpolating data, and analyzing very complicated data.
Explanation:
In forecasting we need to look at a lot of weather variables (temperature, dew point, pressure and wind speed to name a few). We only collect this data from weather observation sites which can be tens to hundreds of kilometers apart. In order to determine these values at locations between the observation sites we interpolate.
When you are forecasting you need look at a lot of data and determine what is going on to determine what is going to happen next. If humans did all the interpolating themselves for all the data they would never be able to issue the forecast in the time that is expected. Furthermore, now that we have very complicated values to analyze (vorticity for example) there is no way that a human can calculate the effect of all the various factors in play. A computer has to do it.
Computers are also required for using weather radar, and yes to a lesser extent satellite data.
Write a function named last_digit that returns the last digit of an integer. For example, last_digit(3572) should return 2. It should work for negative numbers as well; last_digit(-947) should return 7.
def last_digit(num):
num = str(num)
return int(num[-1])
print(last_digit(-947))
I hope this helps!
which option is the correct format of placing html tags while coding in html
A.
B.
C.
D.
Answer:
what are the answers?
it just says A, B. C. or D.
Explanation:
please help me I want the answer for the 3rd question
explain how the organ systems work together to warm up the body on a cold day
Answer:
Your body is to cold ,blood vessels in the skin contract , and blood flow to the extremities (arms and legs)slows . muscles contract and relax rapidly which generates heat to keep you warm..
Explanation:
Hope this helps :)
Answer:
Sample Response: The brain, through the nervous system, sends signals to the muscular system, causing the muscles to move rapidly. This rapid motion produces heat in the body and is observed as shivering. The brain also sends signals to the muscles right beneath the skin. These muscles shorten and tighten, causing the hairs on the skin to stand up. When the hairs stand up, heat is kept in the air trapped within the hairs, which keeps the body warm.
Explanation:
What will be displayed in the console when the following program runs?
var count = 0
while (count != 5){
console.log(count);
count = count + 2;
}
Answer:
The integer, count, will be stuck in a infinite while loop, and the console will keep adding 2 to count, so it'll look something like this.
0
2
4
6
8
10
12
14
and so forth...
Explanation:
The while loop will never stop because count can not equal to 5 because you can't add 2 to another multiple of 2 to get 5.
Because count cannot reach 5, and you cannot add 2 to another multiple of 2, the while loop will never come to an end.
What displayed in the console when program runs?An endless loop is a section of code that never reaches the ending condition, hence it keeps running indefinitely. An infinite loop may cause your software or browser to crash or freeze. Infinite loops must be understood in order to avoid such situations.
When a condition always evaluates to true, an infinite loop happens. Typically, this is a mistake. You may, for instance, have a loop that decreases until it hits zero.
Therefore, It will resemble this because the integer count will be locked in an unending while loop and the console will keep adding 2 to count. 0, 2,4, 6, 8, 10,12, 14 The program will end in an infinite loop.
Learn more about program runs here:
https://brainly.com/question/19339163
#SPJ2
can someone please explain binary addition to me? i have a test tomorrow yikes
Answer:
its easy
Explanation:
there are are 5 main rules
in binary there are 2 number 0 and 1
0 + 0 = 0
0 + 1 = 1
1+0=1
1+1=0 carry 1
e . g
1 1 1
1 0 1 0 1 0
+ 1 1 0 0 1 0
-------------------------
1 1 1 1 1 0 0
*in bold are the ones that you need to carry.
in decimal there are 10 possible numbers 0- 9
when you do 1 + 9 it becomes 10, this can be done easily, however if you do 1 + 9 in a table like above, you will get 0 for the first column and you will carry 1 to the next column .
in binary is the same idea but using on 2 numbers 1 and 0
e.g
1
1
+ 9
----------
1 0
*in bold are the ones that you need to carry.
hope it helps and good luck in your exam.
Which of these should be included in a program's comments?
a. code to set the parameters of a shape
b. a description of what the program does
c. a description of how long it took to write the code
d. code for inserting a background
Answer:
B
Explanation:
Comments in code are primarily used to describe what the program does, and how chunks of the code running the program help relate to what the program does. Comments in code are not primarily used for answers d & a, which is more code, since if you comment, the compiler doesn't notice the code, so it doesn't work. Comments in code are not used for c either, since it's not really needed to write that in the comments.
what is the meaning of .net in computer
Answer:
.net is a top-level domain, also known as a TLD. Derived from the word network, it was originally developed for companies involved in networking technology. Today .net is one of the most popular domain names used by companies all over the world to launch their business online.
Amy is not sure if the Web page loaded completely in her browser. She should look at the _____.
status bar
command toolbar
search engine
address bar
Answer:
Status Bar
Explanation:
A status bar will show the progress of the page that is being loaded.
3. You'd prefer to read this email on a larger screen, so you open your laptop. Your laptop display is quite flat. What kind of screen do you think it is?
Answer:
.....
Explanation:
Answer:
plasma Screens
Explanation:
Used for very large screens and some laptops which display ones screen Flat.
How do you halt an infinite loop?
by pressing the Control key and the
key
Answer:c
Explanation:ctrl and c stops a infinite loop
Federico is using diagrams in a PowerPoint presentation for his science project. He needs to draw four different circles on one slide. Although the circles should be different sizes, none of them should be stretched like an oval. They must be perfectly round circles.
Which sequence of buttons and keys should Federico press to draw a perfectly round circle?
A. click Design tab → click Shapes in the Drawing group → press and hold Shift → select Oval while holding Shift → left-click on the slide and drag the mouse while still holding Shift
B. click Home tab → click Shapes in the Drawing group → select Oval → press and hold Shift → left-click on the slide and drag the mouse while holding Shift
C. click Design tab → click Shapes in the Drawing group → select Oval → press and hold Shift → right-click on the slide and drag the mouse while holding Shift
D. click Home tab → press and hold Shift → click Shapes in the Drawing group → select Oval while holding Shift → right-click on the slide and drag the mouse while still holding Shift
Answer:
b
Explanation:
click Home tab → click Shapes in the Drawing group → select Oval → press and hold Shift → left-click on the slide and drag the mouse while holding Shift.
What is Powerpoint Presentation?A complete presentation graphics suite is PowerPoint. It provides you with everything required to create a presentation that looks polished. Word editing, outlining, sketching, graphing, and presentation management tools are all available in PowerPoint, all of which are simple to use and pick up.
The slides that make up a PowerPoint presentation are what the presentation is built of. The PowerPoint slides you produce can also be shown as overhead transparencies or 35mm slides.
You can print audience handouts, outlines, and speaker's notes in addition to the slides. The robust Slide Master, which will be discussed in the tutorial, can format any slide in a presentation.
Therefore, click Home tab → click Shapes in the Drawing group → select Oval → press and hold Shift → left-click on the slide and drag the mouse while holding Shift.
To learn more about Powerpoint presentation, refer to the link:
https://brainly.com/question/22438059
#SPJ2