Edhesive 3.5 code practice quetion one

Edhesive 3.5 Code Practice Quetion One

Answers

Answer 1

Answer:

x = int(input("What grade are you in? "))

if (x == 9):

   print("Freshman")

elif (x == 10):

   print("Sophomore")

elif (x == 11):

   print("Junior")

elif (x == 12):

   print("Senior")

else:

   print("Not in High School")

Explanation:

Hope this helps lovely :)


Related Questions

in which step of web design is storyboarding helpful?

a
Coding

b
Editing

c
Planning

d
Publishing

Answers

Answer:

the soup become too salty through the process of osmosis system specific message and you can get my points

Explanation:

his email address is going to change your notification delivery settings for Corona CA and you know that

Write a section of code that asks the user for their last name and then will create A new string produced by randomly splitting their name into two parts and reversing their order.
Example: "computer" may produce the result "utter comp".

Answers

import random

name = input("Enter your last name: ")

w = random.randint(0,len(name)-1)

txt = name[0:w]

txt1 = name[w:]

print(txt1+" "+txt)

I hope this helps!

What connections do you see between variables and what you learned about the Input-Output-Store-Process model of a computer?

Answers

Answer:

h

Explanation:

what are output devices ?
name them​

Answers

Answer:

Monitor.

Printer.

Headphones.

Computer Speakers.

Projector.

GPS.

Sound Card.

Video Card.

Explanation:

What will be the output of the following lines of code and the user’s response?

>>> answer = input("What does your dog weigh? ")
What do you weigh? 85.7
>>> weight = int(answer)
>>> print("The weight is" , weight)
An error occurs.
The weight is 85.7
The weight is 85
The weight is 86

Answers

Answer:

An error occurs.

Explanation:

You cannot pass a string representation of a float ("85.7") into an int conversion, you'd have to convert it into a float first.

So weight = int(float(answer)) would work.

Answer: an error occurs

Explanation: got it right on edgen

Which statement will remove 12:'uno' from the dictionary?

games = {8:'scrabble', 10:'xbox', 12:'uno'}

games.remove()

games.pop(12)

games.pop()

games.remove(12)

Answers

Answer: games.pop(12)

Explanation:

In a dictionary sequence, .pop() alone does not work as the variable needs to be defined. Adding 12 allows Python to identify this variable. .remove() does not work with or without a variable.

Answer:

games.pop(12)

Explanation:

The internet's data gathways rely on what kind of hardware devies to route data to its destination?

Answers

Answer:

router

Explanation:

A scatter plot can be used with both numerical and non numerical values. True or False?

Answers

Answer:

true

Explanation:

30 points! Help me out, please! I need help with this!

Answers

Answer:

Both are touchscreen.

Tablets are seen more as an entertainment device (tv, games, etc.).

Phones are smaller, and used more for everything; you can take phones anywhere you go, whereas tablets are more difficult to transport.

Before inserting a cover page or a blank page, where should the cursor be placed?
O at the end of the first line on the page to insert the new page after it
at the end of the last line on the page to insert the new page before it
at the beginning of the last line on the page to insert the new page after it
O at the beginning of the first line on the page to insert the new page before it

Answers

Answer:

At the beginning of the first line on a page to insert the new page before.

Explanation:

if you need more assistance please let me know.

cheers

Answer:

D.  at the beginning of the first line on the page to insert the new page before it

Explanation:

Mingji is working to transfer photos from her digital camera to her computer. While

reading her camera's user manual, she sees that she doesn't need to use a USB cord to

make the transfer. What type of digital camera does Minji have?

Answers

Answer:

digital camera with bluetooth

Explanation:

Bluetooth is defined as a wireless technology with the help of which data and information such any images, documents, files, etc can be send to other devices equipped with bluetooth technology over a short distance with the use of UHF radio waves.

Bluetooth technology help in exchanging data with out the use of a USB cable.

In the context, Minji is having a digital camera with bluetooth technology as she can transfer her photos from the camera to the computer with out the help of any USB chord.

make an internet research on different hazards and risk​

Answers

Answer:

As internet use is extending to younger children, there is an increasing need for research focus on the risks young users are experiencing, as well as the opportunities, and how they should cope. With expert contributions from diverse disciplines and a uniquely cross-national breadth, this timely book examines the prospect of enhanced opportunities for learning, creativity and communication set against the fear of cyberbullying, p*rnography and invaded privacy by both strangers and peers. Based on an impressive in-depth survey of 25,000 children carried out by the EU Kids Online network, it offers wholly new findings that extend previous research and counter both the optimistic and the pessimistic hype. It argues that, in the main, children are gaining the digital skills, coping strategies and social support they need to navigate this fast-changing terrain. But it also identifies the struggles they encounter, pinpointing those for whom harm can follow from risky online encounters. Each chapter presents new findings and analyses to inform both researchers and students in the social sciences and policy makers in government, industry or child welfare who are working to enhance children's digital experiences.

Hazard is something with the opportunities to be harmful and the risk refers to the extent to which harm is likely to occur.

Many incidents are completely preventable, as well as the approach to doing just that would be to eliminate all potential dangers. Some objects are dangerous by nature, although some may be dangerous if handled wrongly as well as irresponsibly.

There are two kinds of hazards, such as:

Acute Hazard Chronic Hazard

The risk seems to be a fusion of various factors:

The actual likelihood that somehow a hazard might inflict damage.The severity of just that impairment.

Learn more about hazards here:

https://brainly.com/question/13084967

An array is another name for a list.

True or false. With explanation.

Answers

Answer:

True

Explanation:

An array could state a particular or indefinite number of items in order. The word is also synonymous to list

Answer:

True

Explanation:

A new computer virus attacks a folder consisting of 200 files. Each file gets damaged with probability 0.2 independently of other files. What is the probability that fewer than 50 files will get damaged? g

Answers

Answer:

0.95345

Explanation:

Given that :

Number of files (n) = 200

Probability of getting damaged (p) = 0.2

q = 1 - p = 1 - 0.2 = 0.8

using normal approximation:

Mean (m) = np = 200 * 0.2 = 40

Standard deviation (s) = √n*p*q= √(200 * 0.2 * 0.8) = 5.6568542

P(X < 50)

X = 50 - 0.5 = 49.5

Find the standardized score :

Z = (x - m) / s

Z = (49.5 - 40) / 5.6568542

Z = 9.5 / 5.6568542

Zscore = 1.6793786

P(Z < 1.6793) = 0.95345 ( using Z probability calculator)

Write a program that asks the user to enter 2 words, then prints "Great!" if the two words are identical, "Close enough" if they are the same length and all but the last letter matches, and "Try again" otherwise.

java, desperate fr

Answers

Answer:

 System.out.println("Enter 2 strings:");

   Scanner scan = new Scanner(System.in);

   String a = scan.nextLine();

   String b = scan.nextLine();

   int c = a.length();

   int d = b.length();

   String e =  a.substring(0, a.length()-1);

   String f = b.substring(0, b.length()-1);

   if (a.equals(b)){

     System.out.println("Great!");

   }

   else if (c== d && e.equals(f)){

     System.out.println("Close enough");

   }

   else{

     System.out.println("Try again");

   }

 }

 

}

Explanation:

Following are the java program to comparing the words:

Program Explanation:

Import package.Defining the main class.Defining the main method.Inside the main method two string "f,s" is declared that uses input method to input value.After input value multiple conditional statement is declared that checks inputs value.In the if block, it checks first string value equal to second value, if it is true it will print a message "Great!".In the else if block it checks string value that has same length, for this it uses "l" variable that checks length value, and the print the message "Close enough".In the else block, it will print the message "Try again".

Program:

import java.util.*;//import package public class Main //defining a class {    public static void main(String[] ars) //defining main method    {        String f,s;//defining String variable        Scanner obc=new Scanner(System.in);//creating Scanner class object        System.out.print("Enter First word: ");//print message        f=obc.next();//input value        System.out.print("Enter Second word: ");//print message        s=obc.next();//input value        if(f.equals(s))//use if to check input string value are equal            System.out.println("Great!");//print message        else if(f.length()==s.length())//using else if block that checks string value has same length         {            int c=0;//defining integer variable             int l=f.length();//defining integer variable l that holds first string length value            for(int i=0;i<l;i++) //using for loop to compare string value            {                if(f.charAt(i)==s.charAt(i))//use if to compare string by using charAt method                    c++;//incrementing c value            }            if(c==l-1 && f.charAt(l-1)!=s.charAt(l-1)) //comparing string            {                System.out.println("Close enough");//print message            }        }        else //defining else        {            System.out.println("Try again");//print message        }    } }

Output:

Please find the attached file.

Learn more:

brainly.com/question/20875119

bvbmb

What are the letter that go under each note?

Answers

Answer:

A, B, C, D, E, F, G pls mark me brainliest see explanation below

Explanation:

those are the letters if you search up letters for music you can find them way easier than me explaining and you will also learn faster. please mark me brainliest

Answer:

a b c d e f g

Explanation:

What are the key components to planning a presentation?
Check all that apply:
audience
conclusion
methods
purpose
thesis
title
topic

Answers

1,3,4,7 just took on edge

Answer:

1 3 4 7

Explanation:

Other Questions
Which is the solution to the inequalit? 1/4 +x less than 5/6 Please help ASAP!!!!!!!!!!! THERE ARE 2 ANSWERS!!!!The economy is considered an important social institution because it directly facilitates which two of the following?A. supply of useful productsB. social reproductionC. secular cultureD. harmony in familiesE. profit and income 5/6 multiplied by 1/5Show you work please Question: 1/10 what is the equivalent percent and decimal? Harrison Bergeron is an exceptional fourteen-year-old boy because Laura is saving money to buy a bike. She has $52 and is going to save an additional $8 each week. The bike costs $164. In how manyweeks will she have enough money to buy the bike? ! Plz can any one help me plz ! From a handful of dates who does the author of the story portrays most sympathetically? I'm having trouble with this...Solve.{y=x63x+2y=8Use any method.(14, 8)(3, -3)(0, -6)(4, -2) Two-thirds of a number plus 5 is greater than 12. find the numbers name two political differences between hamilton and thomas jefferson How far does the foundation of the Socialist Party (1875) and Republican Party (1876) embody the discredit of the Monarchical regime? 8. James Madison wrote that "liberty is to faction what air is to fire." After reading this, Jack points out that the Founders would have wanted more restrictions on lobbyists, special-interest groups, and media influencing the government. What would be a good counterargument? A. Elected officials are better able to measure public opinion if there are no interfering factions B. Lobbyists will balance one another in government influence if they are subject to fewer laws. C. The media, despite its biases, are best able to monitor the government when they are free. D. Political ads, despite their biases, are best able to interm citizens when there are noregulations. Did the brain name itself??? help plzzzzzzzzzzzzzzzzzzzzzzzzz Nemos aquarium is filled with 2400 cm of water the base of the aquarium is 20 cm long and 12 cm wide what is the height of the water in Nemos aquarium 1. Tyler is organizing an extensive scientific research presentation on global warming for his professor. Which organizing triad would be the most appropriate?2. What is the best way to anticipate your audience's reaction when designing your message? Please helpMultiple choice Will appreciate it if u help! The GCF, greatest common factor, for 35 and 70 is:O No answer text provided.O No answer text provided.O 5O 35O 70oNone of the above PLEASE HELP DUE TODAY 20 POINTS!!!