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
sdas [7]
3 years ago
11

In the list [0, 13, 5.4, "integer"], which element is at index 2?

Computers and Technology
1 answer:
aev [14]3 years ago
4 0

Answer: C) 5.4

The index starts at 0

  • index 0 = 0
  • index 1 = 13
  • index 2 = 5.4
  • index 3 = "integer"

If there are n elements in a list, then the index ranges from 0 to n-1.

You might be interested in
Consider the following relation: CAR_SALE (Car#, Date_sold, Salesman#, Commision%, Discount_amt Assume that a car may be sold by
Nady [450]

Answer:

See explaination

Explanation:

The given relation is:

CAR_SALE(Car#, Date_sold, Salesperson#, Commission%, Discount_amt)

Primary key: {Car#,Salesperson#}

We will first check whether the relation is in 1NF.

A relation is said to be in the 1st Normal form(1NF) if all the columns in the relation have atomic values. In this case, the relation is in 1NF.

A relation is said to be in the second normal form(2NF) if it satisfies the condition that all non keys are completely dependent on the primary key and just a part of the primary key.

In the case of the CAR_SALE relation, the Commission% depends only on the Salesperson# and not on the combination of Car# and Salesperson#. This means that the given relation is not in 2NF. To satisfy 2NF, we make two relationships as given below:

SALE_DETAIL(Salesperson#, Commission%)

and CAR_SALE(Car#, Date_sold, Salesperson#, Discount_amt)

Now both the relations are in 2NF.

For a relation to be in 3NF, no non-key should be functionally dependent on another non key.

In the case of the CAR_SALE relation, it is specified that the Date_sold field determines the Discount_amt. Therefore the modified CAR_SALE is not in 3NF.

To satisfy 3NF, we seperate the non key and the dependent non key and create a different table.

Final Relations:

SALE_DETAIL(Salesperson#, Commission%)

Discount_Detail(Date_Sold, Discount_Amt)

CAR_SALE(Car#, Date_sold, Salesperson#)

7 0
3 years ago
A folder has been shared with other users and set to read-only. what does this mean for users?
fomenos
It means they cannot make changes inside those folders and they don't have permission to execute files within it.
5 0
4 years ago
Read 2 more answers
Which of the following applies to patents?
babymother [125]
They protect the rights of the property owner. I watch a lot of shark tank and I believe that’s right
3 0
3 years ago
Which ribbon tab is not a default in Outlook 2016's main interface?
Verizon [17]

Answer:

review

Explanation:

4 0
3 years ago
Read 2 more answers
PowerPoint’s _______________ feature allows you to trim the beginning and end of your clip by designating your desired Start Tim
saw5 [17]
<span>PowerPoint's Trim Video feature allows you to trim the beginning and end of your clip by designating your desired Start Time and End Time. </span>
5 0
3 years ago
Other questions:
  • friend wanted us to decode this message ----- .---- ----- ----- .---- ----- ----- .---- / ----- .---- .---- .---- ----- .---- .-
    11·1 answer
  • Plese give three examples of specilized servers.
    13·2 answers
  • Define a method named roleOf that takes the name of an actor as an argument and returns that actor's role. If the actor is not i
    11·1 answer
  • The following code processes a file containing five positive numbers. What will the variable $result contain after the code is e
    13·1 answer
  • Write a Java program that calculates and prints the monthly pay check for an employee. The net pay is calculated after taking th
    8·1 answer
  • arlos, an algebra teacher, is creating a series of PowerPoint presentations to use during class lectures. After writing, formatt
    12·2 answers
  • PLEASE HELP FAST
    5·1 answer
  • Please help ASAP!!! :))
    9·1 answer
  • Hello guys please help me <br>list and identify the components of computer ​
    15·1 answer
  • Which describes a set amount of pay received by a worker over the course of a year?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!