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
Korolek [52]
4 years ago
12

Which of the following statements is true according to the code?

Computers and Technology
1 answer:
mihalych1998 [28]4 years ago
5 0

Answer:

The #intro style applies to all paragraphs.

Explanation:

It is a class

A class applyies to all with that name

You might be interested in
Write a MARIE program to calculate some basic statistics on a list of positive numbers. The program will ask users to input the
motikmotik

Answer:

a=[23,6,78,36,3,250,127,210,-5]

i = len(a) # calculate length

j = min(a) # calculate minimun

k = sum(a) # calculate sum

l= sum(a)/len(a)  # calculate mean

print(i)

print(j)

print(k)

print(l)

z = 0.0

i=0

x=[23,6,78,36,3,250,127,210,-5]

y = int(l)

while x[i] < y:  

   z= int(x[i]/y)

   print(z)

   x[i] = x[i] - y

   z=z+1

   i=i+1

Explanation:

So above we have calculated Count, minimum, sum and mean/average. Also we did a simple division and printed quotient.

5 0
4 years ago
What is the result of adding 1234.5674 and
Charra [1.4K]

Answer:

C. 1280.245

Explanation:

1234.567 + 45.678 = 1280.245

3 0
3 years ago
What are the values of A[K] and A[K+1] after code correspopnding to the following pseudocode is run?
Black_prince [1.1K]

Answer:

After running the given pseudocode the values will be:

A. A[K] = 20, A[K + 1] = 20

Explanation:

The given pseudocode appears to be applied on an array.

Let us look at the given pseudocode one by one

A[K] = 10;

This line of code assigns value 10 to the position A[K] in array

A[K+1] = 20;

This line of code assigns value 20 to the position A[K+1]

A[K] = A[K+1];

This line will assign the value at A[K+1] to A[K] which means value 20 will be assigned to A[K]

so after this line A[K] = 20

A[K+1 ] = A[K];

This line will assign the value in A[K] to A[K+1] as A[K+1] has the value 20 currently so

A[K+1] = 20

Hence,

After running the given pseudocode the values will be:

A. A[K] = 20, A[K + 1] = 20

5 0
3 years ago
Read 2 more answers
Think about one form of technology you can’t imagine living without. Is it your smart television? Minecraft? Your smartphone or
Alika [10]

Answer:

A computer

Explanation:

I need this for for school purposes and slightly for entertainment. Regarding what would happen if it was taken away for a week, I would most likely fail a class or two based on the standards they measure by. Quite frankly, it's not that I'm crazy about having it, it's the fact that I need it for the time being if I wish to further accel in the world and get to where I want to be. I use it for about 5 or 6 hours a day. This is the technology I don't want to do without.

Have a great day.

3 0
3 years ago
Read 2 more answers
What is stored in str after the following code executes?
uranmaximum [27]

Answer:

"CoCoComputer Science"

Explanation:

First let's understand how the loop works, then we'll see what it does.

The variable i is initialized to value 0.  Then inside the loop, it's incremented by 2 in each loop passage, while i < 8, so the loop will be processed with the following values of i: 0, 2, 4 and 6.  It will run a total of 4 times.

Let's examine the actions done during the FIRST loop:

(str equals "Computer Science", so indexOf('m') = 2, i = 0)

- if the index of 'm' within the string is < i  (index = 2, i = 0, FALSE)

does nothing

increases value of i by 2 (now i = 2)

Let's examine the actions done during the SECOND loop:

(str equals "Computer Science", so indexOf('m') = 2, i = 2)

- if the index of 'm' within the string is < i  (index = 2, i = 2,  FALSE)

does nothing

increases value of i by 2 (now i = 4)

Let's examine the actions done during the THIRD loop:

(str equals "Computer Science", so indexOf('m') = 2, i = 4)

- if the index of 'm' within the string is < i  ( index = 2,  i = 4, TRUE)

then str becomes "CoComputer Science"

increases value of i by 2 (now i = 6)

Let's examine the actions done during the FOURTH loop:

(str equals "CoComputer Science", so indexOf('m') = 4, i = 6)

- if the index of 'm' within the string is < i  (index = 4,  i = 6, TRUE)

then str becomes "CoCoComputer Science"

increases value of i by 2 (now i=8)

Loop ends because i = 8 (i < 8 becomes false)

6 0
3 years ago
Other questions:
  • If Peyton Manning, a professional football player, wanted to remember his 16-digit credit card number, which of the following me
    5·1 answer
  • WHAT BIRD IS SHOWN ON THE ARM OF BLOODHOUND?
    13·2 answers
  • add is a method that accepts two int arguments and returns their sum. Two int variables, euroSales and asiaSales, have already b
    11·1 answer
  • Why do astronomers prefer to use the reflecting telescope rather than the refracting telescope to view distant objects in space?
    15·2 answers
  • How do you find the exterior angle measure of any regular polygon? (The degree in which to turn the turtle to draw a shape)
    10·1 answer
  • Decision-making problems that can be stated as a collection of desired goals are known as what type of problem? A goal programmi
    5·1 answer
  • 3 Points
    15·2 answers
  • Which of the following is the best description of an ip address?
    8·1 answer
  • Why does your e-learning course need a title slide?
    10·2 answers
  • 1. Flash Drive Price - An electronics company makes 64 gigabyte USB flash drives that cost them $8.00 apiece to produce. Write a
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!