1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
barxatty [35]
3 years ago
12

1.6 code practice: question 1 edhesive

Computers and Technology
2 answers:
Drupady [299]3 years ago
7 0

Answer: g = input("Enter a word: ")

m= input("Enter a word: ")

print(g +" " +m)

Explanation:

oksano4ka [1.4K]3 years ago
4 0

Answer:

I have no clue

Explanation:

You might be interested in
Personal computer is the rise of what?​
gogolik [260]

Answer:

Overuse injuries of the hand.

Obesity.

Muscle and joint problems.

Eyestrain.

Behavioural problems including aggressive behaviour.

6 0
3 years ago
We have said that the average number of comparisons need to find a target value in an n-element list using sequential search is
bija089 [108]

Answer:

Part a: If the list contains n elements (where n is odd) the middle term is at index (n-1)/2 and the number of comparisons are (n+1)/2.

Part b: If the list contains n elements (where n is even) the middle terms are  at index (n-2)/2 & n/2 and the number of comparisons are (n+2)/2.

Part c: The average number of comparisons for a list bearing n elements is 2n+3/4 comparisons.

Explanation:

Suppose the list is such that the starting index is 0.

Part a

If list has 15 elements, the middle item would be given at 7th index i.e.

there are 7 indices(0,1,2,3,4,5,6) below it and 7 indices(8,9,10,11,12,13,14) above it. It will have to run 8 comparisons  to find the middle term.

If list has 17 elements, the middle item would be given at 8th index i.e.

there are 8 indices(0,1,2,3,4,5,6,7) below it and 8 indices(9,10,11,12,13,14,15,16) above it.It will have to run 9 comparisons  to find the middle term.

If list has 21 elements, the middle item would be given at 10th index i.e.

there are 10 indices (0,1,2,3,4,5,6,7,8,9) below it and 10 indices (11,12,13,14,15,16,17,18,19,20) above it.It will have to run 11 comparisons  to find the middle term.

Now this indicates that if the list contains n elements (where n is odd) the middle term is at index (n-1)/2 and the number of comparisons are (n+1)/2.

Part b

If list has 16 elements, there are two middle terms as  one at would be at 7th index and the one at 8th index .There are 7 indices(0,1,2,3,4,5,6) below it and 7 indices(9,10,11,12,13,14,15) above it. It will have to run 9 comparisons  to find the middle terms.

If list has 18 elements, there are two middle terms as  one at would be at 8th index and the one at 9th index .There are 8 indices(0,1,2,3,4,5,6,7) below it and 8 indices(10,11,12,13,14,15,16,17) above it. It will have to run 10 comparisons  to find the middle terms.

If list has 20 elements, there are two middle terms as  one at would be at 9th index and the one at 10th index .There are 9 indices(0,1,2,3,4,5,6,7,8) below it and 9 indices(11,12,13,14,15,16,17,18,19) above it. It will have to run 11 comparisons  to find the middle terms.

Now this indicates that if the list contains n elements (where n is even) the middle terms are  at index (n-2)/2 & n/2 and the number of comparisons are (n+2)/2.

Part c

So the average number of comparisons is given as

((n+1)/2+(n+2)/2)/2=(2n+3)/4

So the average number of comparisons for a list bearing n elements is 2n+3/4 comparisons.

6 0
3 years ago
Default color html ​
Marrrta [24]

Answer:

black for font...

and

white for bg color

Explanation:

i think this is enough for ur question...

3 0
3 years ago
are there any hexadecimal digits that cannot be created using 4 bits? how many bits would you need to represent the hexadecimal
Delvig [45]
  • 1.No there is no any hexadecimal digits that cannot be created using 4 bits. Hexadecimal digits can all be created using 4 digits/
  • 2.The number of bits required to to represent the (10)16 is 5 bits.
  • 3. To represent every hexadecimal value from 016 to ff16, 8 bits will be required
  • 4. The given number is in binary and to convert any binary number to hexadecimal, we convert it sets of 4 digits to the hexadecimal equivalent.
  • 5. The value of converting the given binary to a number in  hexadecimal is 93DA

<h3>what is hexadecimal?</h3>

The term hexadecimal refers to a number systems in base 16. Most number systems are in decimal or base ten however hexadecimal is a kind of number system that is in base 16. Hexadecimal has the base ten numbers from 0 to 9 and additional letters A, B, C, D , E, and F

<h3>How to convert to binary to hexadecimal</h3>

(1001 0011 1101 1010) base 2

1001= 8+0+0+1=9

0011=0+0++2+1=3

1101=8+4+0+1=13=D

1010=8+0+2+0=10=A

bringing the values together gives

93DA

Read more on hexadecimal here: brainly.com/question/11109762

#SPJ1

8 0
1 year ago
Damean works as receptionist for a car dealership. The weekends are always a challenge for Damean because there are more custome
slavikrds [6]

Ineffective communication

3 0
3 years ago
Read 2 more answers
Other questions:
  • Annabella was giving a presentation to a group of 20 real estate agents on
    15·2 answers
  • Why is it important to use proper line types
    13·1 answer
  • Which tabs contains options for adding shapes to a chart ? Check all that apply.
    13·1 answer
  • A bluetooth device in ____ mode is part of the piconet but is in a low-power state.
    8·1 answer
  • As a general rule, the number of bullet points on a slide should not exceed _____. a.2 b.4 c.8 d.10
    9·1 answer
  • Ok so I usually don’t do this but I just need an answer , on Instagram a notification popped up while I was watching someone’s s
    9·2 answers
  • Help easy 50 points!!!!<br> How do i make someone be the brianliest? No crown thing is appering!!!!
    10·2 answers
  • Suzanne is following a fad diet. She has started to experience low energy during her workouts, and on a recent trip to the docto
    10·2 answers
  • Is anyone else having issues with brainly not working? Everytime I click on a answer it only comes up with the 7 month trail thi
    12·1 answer
  • Which statements describe the advantages of using XML
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!