Question #2
Multiple Choice
What is the next line?
>>> my Tuple = [10, 20, 50, 20, 20, 60]
>>> my Tuple.index(50)
O 4
O 2
O 3
O 1

Answers

Answer 1

Answer:

The index of 50 is 2.

Explanation:

Index method is sued to return the index of a number or element in a list.

The syntax of using the index method when we have to find the index of a specific element is:

>>>ListName.Index(element)

It has to be remembered that the indexes of a list start from zero.

In the given statements, first a list is created with elements and the second statement will get the index of 50 in the list.

Hence,

The index of 50 is 2.

The next line can be written to display the index of 50 as:

print("The index of 50 is:",my Tuple.index(50))


Related Questions

One friend claims that a dual-core system runs at twice the speed as a single-core system; another friend disagrees by saying that it runs twice as many programs at the same time; a third friend says it runs twice as much data at the same time. Explain who is correct and why?

Answers

Answer:

the first friend

Explanation:

It is important to remember that a core is the brain of the CPU (central processing unit), which means one who has a dual-core is having "a dual brain" to process information faster.

Consider also, IT experts often acknowledge that in terms of speed of execution, it is proven that, "dual-core systems" are faster (even twice faster) than a "single-core system". The other friends were wrong because they disagreed with a widely accepted fact that dual-core is faster than single-core; and of course, we know that without them being faster they can't run twice the applications and twice the data.

Therefore, we can make the conclusion that the first friend's response is correct.

Which step is common to both creating a new document and saving a document?

Answers

Answer:

clicking the File tab. clicking the New tab. clicking the Save As tab.

Explanation:

help help help help​

Answers

Answer:

D i think............

Explain the importance of understanding plagiarism, copyright, and fair use during a time when some much of your schoolwork is done in the virtual environment.

Answers

Answer:

Firstly, it is unethical because it is a form of theft. By taking the ideas and words of others and pretending they are your own, you are stealing someone else's intellectual property. Secondly, it is unethical because the plagiariser subsequently benefits from this theft.

Explanation:

I hope this helps! Have a good day.

Write a SELECT statement that returns four columns: VendorName, InvoiceNumber, InvoiceDate, and InvoiceTotal. Return one row per invoice that shows the vendor and invoice results that have an invoice date that is the same as any of the United Parcel Service invoices. Organize the results by invoice date from earliest to latest invoice.

Answers

Answer:

SELECT VendorName, InvoiceNumber, InvoiceDate, InvoiceTotal

FROM Vendor JOIN Invoice ON Vendors.VendorID = Invoices.VendorID

WHERE InvoiceDate = United_parcel_service

ORDER BY InvoiceDate DESC

Explanation:

A database is a storage unit where data is stored for future reference. SQL or structure query language is a programming language used to query databases for specific information.

The SELECT clause is used to read data from the database table. The JOIN and ON clauses are used to query multiple tables and databases. The WHERE clause is used to select and return rows based on a given condition, where the ORDER BY clause is used to sort and organize the returned result.

Malware is any malicious software installed on a computer or network without the owner’s knowledge.
Question 4 options:
True
False

Answers

Answer: True

Explanation: Malware is literally short for malicious software. The name that is given to any type of software that could harm a computer system or collect a user's data.

Hope it helped please mark as brainliest!

Define a function perimeter(base, height) that returns the perimeter of a rectangle with side lengths base and height

Answers

Answer:

int perimeter(base,height)

{

int perimeter_of_rectangle;

perimeter_of_rectangle= 2(base+height);

return (perimeter_of_rectangle);

}

Explanation:

Lets name the function perimeter. It has two parameters base and height.

The function will have return type. In this case I am taking int but it can be float as well.

The function would be:

int perimeter(base,height)

{

int perimeter_of_rectangle;

perimeter_of_rectangle= 2(base+height);

return (perimeter_of_rectangle);

}

What is a small symbol or graphic used to highlight a line of text?

Answers

Answer:

It would be a little highlighter at the top of the screen.

Explanation:

Question 3: Consider the multiplexer to the right. With F(x..Z) as output
function.
Fill in the truth table of F.
1 -
0
N
F
1
mux
2
0 -
3
X Y
X Yz
F
0 0 0 0
0 0 1 0
0 1
011
1100
1 0 1
1 1 0
1 1 1
HA
I

Answers

Answer:

1-

Explanation:

Define a recursive function named merge chars, it is passed two str arguments, in which all the characters appear in alphabetic order; it returns a str that contains all the characters in its argument strings, also appearing in alphabetic order.

Answers

Answer:

def merge_chars(str1, str2):

    if not str1 and not str2:

         return ''

    if str1 and (not str2 or str1[0] <= str2[0]):

         return str1[0] + merge_chars(str1[1:], str2)

    else:

         return str2[0] + merge_chars(str1, str2[1:])

Note: It's written in Python3

Explanation:

This line defines the function

def merge_chars(str1, str2):

This checks for empty strings. If yes, it return an empty string

    if not str1 and not str2:

         return ''

The following merge and sorts both strings, recursively

This checks if only one of the strings is not empty

    if str1 and (not str2 or str1[0] <= str2[0]):

         return str1[0] + merge_chars(str1[1:], str2)

This checks if both strings are not empty

    else:

         return str2[0] + merge_chars(str1, str2[1:])

Hello again, just need help debugging-I honestly have no idea how the "isSpace" etc methods work and I've tried various syntaxes (string name, Character., etc.) to no avail. Also getting errors for the c= sections for converting between char, string, and boolean which I understand, just dont know how to fix. I'm aware I could condense my initial variables, I just like them laid out. The code aims to count lowercase vowels, all consonants, spaces, and punctuation. Anything else will get thrown into a misc count.


import java.util.Scanner;

public class MyClass {

public static void main(String args[]) {
Scanner s=new Scanner(System.in);
System.out.println("input the string");
String as=s.nextLine();

int cons=0;

int a=0;

int e=0;

int i=0;

int o=0;

int u=0;

int space=0;

int punc=0;

char c;

int misc=0;

for(int k=0;k(LESS THAN)as.length();k++){
if(as.isSpace(as.charAt(i))){
space++;
}

else if(as.isConsonant(as.charAt(i))){

cons++;

}

else if(as.isPunctuation(as.charAt(i))){

punc++;

}

else if(as.isVowel(as.charAt(i))){

c=as.charAt(i);

if (c="a"){

a++;

}

else if(c="i"){

i++;

}

else if(c="e"){

e++;

}

else if(c="o"){

o++;

}

else if(c="u"){

u++;

}

else{

misc++;

}

}

else{

misc++;

}

}

System.out.println(a+" a's");

System.out.println(e+" e's");

System.out.println(i+" i's");

System.out.println(o+" o's");

System.out.println(u+" u's");

System.out.println(space+" spaces");

System.out.println(punc+" punctuations");

System.out.println(cons+" consonants");

System.out.println(misc+" misc. (uppercase vowels, etc.");


}

}

Answers

import java.util.Scanner;

public class JavaApplication81 {

   

   public static void main(String[] args) {

       Scanner s = new Scanner(System.in);

       System.out.println("Input the string");

       String as = s.nextLine();

       int cons = 0;

       int a = 0;

       int e = 0;

       int i = 0;

       int o = 0;

       int u = 0;

       int space = 0;

       int punc = 0;

       char c;

       int misc = 0;

       String punctuation = ".!,?";

       String consonants = "bcdfghjklmnpqrstvwxyz";

       for (int k = 0; k < as.length(); k++){

           c = as.charAt(k);

       if (Character.isWhitespace(c)){

           space ++;

       }

       else if (punctuation.indexOf(c) != -1){

           punc++;

       }

       else if (consonants.indexOf(c) != -1){

           cons++;

       }

       else if (c == 'a'){

           a++;

       }

       else if(c == 'e'){

           e++;

       }

       else if (c == 'i'){

           i++;

       }

       else if (c == 'o'){

           o++;

       }

       else if (c == 'u'){

           u++;

       }

       else{

           misc++;

       }

       

   }

       System.out.println(a+" a's");

       System.out.println(e+" e's");

       System.out.println(i+" i's");

       System.out.println(o+" o's");

       System.out.println(u+" u's");

       System.out.println(space+" spaces");

   

       System.out.println(punc+" punctuations");

       System.out.println(cons+" consonants");

       System.out.println(misc+" misc. (uppercase vowels, etc.");

   }

   

}

This is one example of how it could be done.

How many passes will it take to find the 20 in this list? (python)

10, 12, 14, 16, 18, 19, 20

3

1

2

4

Answers

Answer:

1

Explanation:

What do you mean by a pass? A pass through each number in the list?

for x in numLst:

    if x == 20:

         return True

This would run through the list once, as you're just checking if each element is 20 in this loop.

Answer:

2

Explanation:

on edge right

As you enter code in Visual Studio, the _____ feature provides drop-down lists of coding options that you can enter by selecting and pressing the Tab key.

Answers

Answer:

IntelliSense

Explanation:

Microsoft Visual Studio can be regarded as a an integrated development environment, it is utilized in the development of computer programs. It can be reffered to as a code editor redefined and used in the development and debugging of modern webs, mobile apps development and others. It is developed by Microsoft . Some of the features is code editor that supports syntax highlighting as well as code completion through the utilization of IntelliSense for functions, IntelliSense which can be regarded as a term to denote code editing features which contains quick info, code completion as well as member lists. It should be noted that as As you enter code in Visual Studio, the IntelliSense feature provides drop-down lists of coding options that you can enter by selecting and pressing the Tab key.

How did the use of ARPANET change computing?

Scientists were able to communicate over large distances.

Scientists could use computers that had different operating systems.

Computers no longer had to be wired to a main computer to communicate.

Scientists were able to connect to the World Wide Web through ARPANET.

Answers

The use of ARPANET changed computing because:

Scientists were able to communicate over large distances.Scientists could use computers that had different operating systems.Computers no longer had to be wired to the main computer to communicate.

ARPANET was developed by the United States Advanced Research Projects Agency.

The main reason for the creation of ARPANET was to make it easier for people to be able to access computers. Also, it was vital as it helped improve computer equipment and was a vital method for communication in the military.

Furthermore, it helped in communicating over large distances and ensured that scientists could use computers that had different operating systems.

In conclusion, it was also vital as computers no longer had to be wired before they can communicate.

Read related link on:

https://brainly.com/question/15980664

Answer:

A B and C

Explanation:

Scientists were able to communicate over large distances.

Scientists could use computers that had different operating systems.

Computers no longer had to be wired to a main computer to communicate.

cell d1 contains the value 7.877 you want cell d1 to display this value as 7.9 how can you accomplish

Answers

Answer:

You round?

Explanation:

The round function in excel can be used to change the value of 7.877 to 7.9 by writing the following code in cell d1 ; =round(7.877, 1)

The round function is used in excel to approximate numbers to a certain number of decimal places.

The round function takes in two arguments ; the number to be rounded and the number of decimal places.

To obtain a value of 7.9 ; round 7.877 to 1 decimal place., the value after the first decimal is above 5 ; it is rounded to 1 and added to the first decimal value.

Therefore, the round function could be used to accomplish the above task.

Learn more :https://brainly.com/question/17566733

Which two statements are true about the impact of emerging technology on society?

Emerging technologies have only provided benefits to developed countries.

Wireless technologies have not reached the point where they can provide internet to remote areas.

Satellite communication has evolved to provide communication to remote parts of the world.

Most technologies have reached their saturation point and are not seeing further evolution.

Emerging technologies, like any other technology, can be misused.

Answers

Answer: Satellite communication has evolved to provide communication to remote parts of the world. And Emerging technologies, like any other technology, can be misused. would be correct.

Explanation: According to Britannica, "in telecommunications, the use of artificial satellites to provide communication links between various points on Earth. Satellite communications play a vital role in the global telecommunications system. Approximately 2,000 artificial satellites orbiting Earth relay analog and digital signals carrying voice, video, and data to and from one or many locations worldwide." So satellite communications can be [pretty much used anywhere if there is a receiver on the ground. As for technology being misused, anything that is relatively new can be abused or damaged with malicious intent.

Hope this helped please mark it as the brainliest!

Answer:

The correct answers are:

Satellite communication has evolved to provide communication to remote parts of the world.

Emerging technologies, like any other technology, can be misused.

Explanation:

I got it right on the Edmentum test.

Allows users to manually enter functions or formulas
5 points
Column
Row
Cell reference
Formula bar
Location of a cell (for example, A3)
5 points
Workbook
Spreadsheet
Cell reference
Spreadsheet title
Labeled with numbers within a spreadsheet; intersects with columns
5 points
Merge
Help menu
Column
Row
Individual rectangle within a spreadsheet
5 points
Cell
Row
Column
Formula bar
Displays the name of a spreadsheet
5 points
Spreadsheet title
Formula bar
Workbook
Column
A document that arranges data in a series of columns and rows
5 points
Workbook
Help menu
Cell reference
Spreadsheet
Refers to a group of cells within a spreadsheet
5 points
Cell range
Column
Cell
Workbook
Combining two or more cells together to form one larger cell
5 points
Spreadsheet title
Cell range
Merge
Workbook
Provides assistance to users regarding how to use a spreadsheet program
5 points
Spreadsheet
Help menu
Formula bar
Cell reference
Labeled with letters within a spreadsheet; intersects with rows
5 points
Column
Cell
Row
Cell range

Answers

sorry no one can understand what you are asking you should ask a simpler question where people would like to answer

Question #2
Multiple Choice
What is the index of 7 in this list?
[5, 6, 10, 7, 3, 2.5]

A ) 3
B ) 2
C ) 4
D ) 7

Answers

Answer:

C.

Explanation:

mukhang

letter

C.

pambihira

ka

naman

bat

hindi

ka

magtanong

sa

mga

nakakatanda

mong

kapatid

Answer:

The answer to your question is C. Have a wonderful safe day. <3 <3 <3

Explanation:

What did networks of the 1960s use to connect computers?

telephone lines

wireless technology

television signals

telegraph cables

Answers

Answer:

Explanation:

Telephone lines

what are the steps involved in adding headers and footers to a Microsoft word document. ​

Answers

hey!!

your ans is here...

steps :

1.Click on insert tab.

2.Click on the header button or footer button.

suppose u have click on header..

3. A list of various header styles appears. Now u can select the required style.

Thanks

Hope it helps u.. mark as brainlist..

Which of the following is not a benefit of shaping data with the Power Query Editor?
A.)Data can be merged from multiple sources.
B.)Shaped data can be added to a data model.
C.)Shaped data does not retain links to external file sources.

Answers

Answer:

A

Explanation:

I am not 100% sure but without the shaping data, data can still be merged from multiple sources.

The one that is not a benefit of shaping data with the Power Query Editor is that Shaped data does not retain links to external file sources.

Shaping data refers to transforming the data through the act of renaming columns or tables, changing text to numbers, removing rows etc.

Shape data often connect to different data sources and then combine those data sources in creating a data model to use in reports.

Conclusively, Data shaping focuses on building hierarchical relationships between two or more logical building blocks in a query.

Learn more from

https://brainly.com/question/19509866

In the program below, which two variables have the same scope?
def subtract(numA, numb):
return numA - numB
def divide(numC, numD):
return numC/ numD
answer = divide(24,6)
print (answer)
numD and
num
numA
numB
Yeah

Answers

Answer:

Numc

Explanation:

Just did the quiz :]

Create a column vector named y that starts at 123 and
end at -323, with each element separated by 2 (odd numbers)
using : and the transpose operator.​

Answers

Hxfjxkfxhgcvvccchbhjkkn by j

Answer:

jiskkxjxizkxjxjksz by y

Explain the factors affecting computer performance

Answers

Answer:

They include: the speed of the CPU, the space on the hard disk, the size of the RAM, the type of the graphics card, the speed of the hard disk,, if the computer is multitasking, the defragmenting files

In which of the following scenarios would you choose to embed versus import data?
A.)You do not want to save the original data sources.
B.)You want to maintain connections with external files
C.)You want to reduce file size

Answers

Answer:

B.)You want to maintain connections with external files

Explanation:

परीक्षा केन्द्र :...सार
........ ....
बनागरीमा) : सापडला वियापा
IT (IN BLOCK LETTER): SAV DEEP KUMAR ek
on No.) 764556
)
. 35
ना (देवनागरीमा) :.....र...तोफिक
परीक्षा दिने विषयहरू
जन्म मिति
वि.सं.
करोएपछि......शी
कक्षा ११
ype
R-REGULAR
P= PARTIAL
Exam
pjects
Sub.Code No.
S.N.
Sub
1.com Eng
Accountan
2​

Answers

Answer:

idont know

Explanation:

anong

klaseng tanong

ito

ikaw

lang

siguro

makasagut

rito

What are the main techniques used to help manage test anxiety? Check all that apply.

negative thinking
positive self-talk
relaxation
visualization
expect the worst

Answers

Answer:

Relaxation and positive self-talk are the best way to manage test anxiety. Relaxation makes our body relaxed and tension free and positive thinking helps to control and take responsibility of your own life

The test anxiety can be dealt with the following of techniques such as positive self talk and relaxation.

What is test anxiety?

The test creates a pressure for the performance and thereby combines the emotional reaction with the physical symptoms. The reaction before the test due to test pressure is termed as test anxiety.

The anxiety includes symptoms such as excessive sweating, stomach ache, rapid heartbeat, shortness of breath and so on.

The techniques such as relaxation, positive self talk helps in the dealing with the test anxiety. Thus, options B and C are correct.

Learn more about test anxiety, here:

https://brainly.com/question/16529562

#SPJ2

kahoot code: 08408519

Answers

Answer:

yayy!!

Explanation:

ok

Answer:

y am i always late tho

Explanation:

What's up with this new update?

Ok, so I love this Brainly update, but my only issue is the message system. I will think I have some notification, but it says a message, so I am like "Great, what did I do this time", but there will be no new messages. So does anybody know what it's all about or is it an error?

Also I may be getting a new computer for my birthday, but I don't know which one I want to get, are there any reccomendations? I plan to use Source Film Maker, hopefully VR, and Steam Games

Answers

Answer:

so do i the notifications are out of control i try to ignore them

Explanation:

and yea so it seems you like to do things such as VR? if so i suggest one from the Oculus brand i dont use them but i heard they were good!

~Brianna/edgumacation

Answer:

I figured it out

Explanation:

To explain the notification thing brainly says you have messages when its notifications related to comments because comments are usually made up of people talking to each other, so it just comes through as a message notification.

The photo shows a group of girls reacting to comments they have read about a classmate on a social media site.
One girl stands by herself, looking sad. Four girls stand apart from her, looking at her and pointing. Two girls cover their mouths to hide a laugh. How might the girls react differently to best prevent cyberbullying?

Answers

Answer:

no

Explanation:

beacuse

Other Questions
Read the excerpt from act 5, scene 2, of Julius Caesar.[Alarum. Enter BRUTUS and MESSALA]BRUTUS. Ride, ride, Messala, ride, and give these billsUnto the legions on the other side.[Loud alarum]Let them set on at once, for I perceiveBut cold demeanour in Octavius wing,And sudden push gives them the overthrow.Ride, ride, Messala, let them all come down.[Exeunt]What does Shakespeare mean by the phrase "cold demeanour as spoken by Brutus in this passage?physical discomfortunbroken resolveheightened awarenesslack of enthusiasm !!! EMERGENCY PLEASE ANSWER WITHIN THE FIRST MINUTE YOU SEE THIS !!!Give the proper name for this compound formula, O2^2-:A.) OxideB.) OxygenC.) OxateD.) Peroxide NEED HELP ASAP PLEASE!!!! Computer-aided design software can _________________a.see details that could not be visible with drafting or modeling.b.simulate designs from structures created in the past.c.provide landscapers with an idea if how an outdoor area will look during each season.d.accomplish all of the above. A recipe for pancakes calls for 1 cup ofpancake mix and cup of milk. Howmuch milk is needed to make therecipe? Write informative paragraph about travel 100-150 words Read these words from the First Amendment to the Constitution. Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the Government for a redress of grievances. This amendment guarantees citizens the right to A--bear arms against the government.B--establish a national religion.C--influence their representatives' decisions. D--vote in elections. After King George III rejected the Olive Branch Petition, Parliament passed the Prohibitory Act, whichclosed American ports to overseas trade.addressed the colonists most significant complaints.called on British forces to attack the colonies.stopped the British Navy from seizing American ships. Martele is played on the string with pressure/accent at the beginning and the end of the bow stroke.TrueFalse In this assignment, you will explore how to find the number of different species of fish in a pond by looking at a random sample of the fish. Which phrase best describes the total number of brook trout in the pond? the population of brook trout the proportion of brook trout the sample of brook trout the population of fish Which is the quotient for 19.040.17 ? A. 10.2 B. 11.2 C. 102 D. 112 MARCO: He participado en un grupo musical por dos aos.FRANCISCA:Tocas algn instrumento?MARCO:Toco el saxofn.FRANCISCA:Lo aprendiste a tocar en el grupo?MARCO:No, lo haba estudiado antes.Qu verbo del dilogo est en el pluscuamperfecto?A) participarB) tocar C) estudiar D) aprender The flowers danced in the breeze" is an example of: Russell has a collection of 1,200 pennies. Of these pennies, 25% are dated before 1980, 35% are dated from 1980 to 2000, and the rest are dated after 2000.How many pennies in Russells collection are dated after 2000?A. 480B. 720C. 40D. 60 how many sides does a polygon have if each of its interior angle is 120 1726 rounded to the nearest 100 There is more than one answer write an equation that is parallel to 7/8x+1 and an equation that is perpendicular to 7/8x+1 I will give brainliest- I need help on my Spanish mid-term!! (25-28 questions; vocabulary and grammar ONLY) 45 PTS1. Which of the following options is NOT a way to say "you all"?-ellas-ustedes-vosotras-vosotros2. What does the underlined word mean in the following sentence?:Ellas son intelegentes. (The underlined word is 'ellas')-They (boys and girls)-They (girls)-They (boys)3. Decide if you should use tu or usted when speaking to the following person:Your little brother-tu-usted4. Decide if you should use tu or usted when speaking to the following person:Your mother's boss-tu-usted5. Choose the correct indefinite article for the following word:leccion-una-unas-un-unos6. Decide if the following definite article and noun agreement is correct or incorrect:la mapa-incorrect-correct7. Decide if the following definite article and noun agreement is correct or incorrect:los profesoras -incorrect-correct8. (I skipped this one because I already knew it)9. Fill in the blank with the correct form of the adjective in parenthesis. Los ninas estan (aburrido)-aburrida-abburido-abburidas-abburidos10. (I skipped this one because I already knew it)11. Fill in the blank with the word that best completes the following sentence:Mi maestra es ___.-simpaticos-simpatica-simpaticas-simpatico12. Choose the sentence that is grammatically correct: -Los mapas son pequenas. -El mapa es pequeno.-La mapa es pequena.-Las mapas son pequenas. 13. Fill in the blank with the correct conjugation of ser.Nosotros ___ estudiantes. -somos-es-son-eres14. Choose the sentence that is grammatically correct: -Mi mama eres costarricense.-Mi mama es costarricense. -Tu es mexicano.-Tu es de mexico.15. Fill in the blank with the word that best completes the following sentence: Yo ______ estudiante. -somos-es-eres-soy16. Choose the sentence that is NOT grammatically correct: -El escritorio es amarillo.-La silla son roja.-Las sillas son rojas. -La sillas es roja.17. What does the underlined word mean in the following sentence?El senor Martinez es inteligente. (The underlined word is senor)-Mr. -Mrs.-Miss18. (I skipped this one because I already knew it)19. (I skipped this one because I already knew it)20. (I skipped this one because I already knew it)21. (I skipped this one because I already knew it)22. (I skipped this one because I already knew it)23. (I skipped this one because I already knew it)24. (I skipped this one because I already knew it)25. (I skipped this one because I already knew it)26. (I skipped this one because I already knew it)27. (I skipped this one because I already knew it)28. Choose the best question for the following answer: Soy alto y delgado. -?como eres?-?como te llamas?-?como se dice?-?como eres?29. (I skipped this one because I already knew it)30. (I skipped this one because I already knew it)31. Las chicas son de mexico. Ellas son ____.Fill in the blank. -Mexicanas-Mexicans-Mexicanos-Mexicas32. (I skipped this one because I already knew it)I would really appreciate the help. Thank you to anyone who answers these xx please if you can help me with this let me know. i have 10 pages of multiple choice chemistry questions and i can mark brainliest, and pay you real money if you do it