Answer:
The correction to the code is as follows:
order_1 = ("Lee",0,2)
order_2 = ("Tamia",1,0)
order_3 = ("Edward",1,1)
print("You need to buy",order_1[-1],"hotdogs")
print("You need to buy",order_2[1],"burgers")
print("You need to buy",order_3[1],"burgers and",order_3[2],"hotdogs")
Explanation:
The first three lines of the program is bug free.
However, the last 3 print statements are not.
(1) The statement to be printed must be in open and close parenthesis
(2) Change the + to comma (,) because the print statement includes integer and string values
(3) Lastly, the tuple items in the last statement must be printed separately
Regarding the citation, could you please clarify what you need help with specifically. Are you referring to citing a source in a particular citation style, such as APA or MLA. Providing more information will allow me to assist you better.
Recitation refers to the act of reading or repeating something aloud, often from memory or a prepared text. It is commonly associated with the process of learning and reviewing information, particularly in educational settings. Recitation can take various forms depending on the context.
In an academic or educational context, recitation often refers to a supplemental session where a teaching assistant or instructor leads a small group of students in reviewing and discussing material covered in a lecture. During a recitation, students may be asked to answer questions, solve problems, or participate in discussions related to the subject matter.
Learn more about educational context on:
https://brainly.com/question/31199020
#SPJ6
Explain benefits and disadvantages of using BNC over F-Type connectors on coaxial cables
Answer:
The benefits and disadvantages of using BNC over F-Type connectors on coaxial cables are;
The benefits of the BNC includes;
1) Easy connect and disconnect for a more rapid connection unlike the F-Type connector which is a screw connector
2) Reduction on stress on the termination of the coaxial cable
3) Appropriate in systems that see frequent reconfiguration unlike te F-Type connector that is permanently attached
4) Prevent unwanted disconnection ensuring image consistency by locking into place
5) Can extend to 300 ft.
The disadvantages of the BNC connectors are;
1) A separate power supply for the cable is required
2) Is used only for video transmission
3) Cannot be used for audio
4) The center wire is not easily visible like those of the F-Type connector which serves as a pin
5) The BNC connector is not watertight like the F-Type connectors
6) There are no provision for properly and securely attaching the cable to the camera for field work such that it can be easily disconnected while in use unlike the F-Type connectors
7) It is not as easy to manufacture like the F-Type connector and it is more expensive
8) The installation of the BNC connector on a coaxial cable is more intricate and the center cable is hidden from view after the BNC is attached thereby making it not possible to see if there is an error in installation which is unlike the F-type connector that takes less than 30 seconds to be attached to a cable
9) The F-Type connector provides more cost savings during installation than the BNC connector
Explanation:
The BNC connector is a type of bayonet connector used more frequently on CCTV systems. The benefits of the BNC includes;
The F-Type connectors are usable on SATV, CATV, and Digital TV where they are used together with RG6 or RG11 cables
Es la actividad que posibilita comunicar gráficamente ideas, hechos y valores procesados y sintetizados en términos de forma y comunicación, factores sociales, culturales, económicos, estéticos y tecnológicos
Answer:
La estadística es una rama de las matemáticas aplicadas que se ocupa de la recopilación, evaluación, análisis y presentación de datos o información. El trabajo también utiliza elementos de cognición, psicología, informática y ciencias de sistemas, cálculos numéricos y contribuciones de otras materias que tratan de matemáticas, datos y métodos informáticos intensivos.
El resultado, también llamado estadística, a menudo se presenta en forma numérica en números absolutos, números de frecuencia, números proporcionales, promedios, en tablas con series de tiempo o con otros números comparativos y a menudo también se ilustra en diagramas o figuras. El resultado se usa en parte para mostrar cómo se maneja algo en este momento y en parte como una herramienta para predecir eventos futuros mediante inducción. La estadística se utiliza en muchas disciplinas científicas, desde las ciencias naturales hasta las humanidades, pero también en la política y los negocios.
The history of the Internet dates back to the 1960s, when a group of scientists at Stanford University were entrusted to design which of the following as part of the competition between the US and its then Cold War enemy, the USSR?
a main frame to siphon information
a super computer for the US government
a network of sophisticated computers
a computer to control weapons
Answer:
a network of sophisticated computers
Explanation:
This is an easy and simple read if you want to as well
https://cs.stanford.edu/people/eroberts/courses/soco/projects/2001-02/distributed-computing/html/history.html
Which of the following statements most accurately describes the difference between aptitudes and skills?
O Aptitudes are ability, and skills are the potential.
O Aptitudes can be learned or trained, unlike skills.
O Aptitude is the level of skill that a person has gained.
O Aptitude is a person's potential to learn new skills.
Answer:
Aptitude is the level of skill that a person has gained.
Explanation:
Aptitude is the measurement of knowledge someone has in a specific area.
Answer:
C Aptitude is the level of skill that a person has gained
Explanation:
why do computer architects prefer memory dump to be in base 16
Answer:
We use hexadecimal numbers primarily because they provide a more human-friendly representation and it is much easier to express binary number representations in hex than in any other base number system.
Explanation:
which operating systems have both workstation and server editions?
-ios
-android
-ubuntu
-windows
Answer:
WINDOWS
Explanation:
The operating system that have both workstation and server editions is windows. The correct option is D.
What is an operating system?The operating system (OS) controls all of the computer's software and hardware. It basically manages files, memory, as well as processes, handles input along with output, and controls peripheral devices such as disk drives and printers.
The most chief software that runs on a computer is the operating system. It is in charge of the computer's memory, processes, as well as all software and hardware.
Several computer programs typically run concurrently, all of which require access to the computer's processor (CPU), memory, and storage.
Operating systems now use networks to connect to one another as well as to servers for access to file systems and print servers. MS-DOS, Microsoft Windows, and UNIX are the three most popular operating systems.
Thus, the correct option is D.
For more details regarding operating system, visit:
https://brainly.com/question/6689423
#SPJ2
i need an quote for a ad im using gatorade
Answer
Want the best aid for after a game, then try some Gatorade!
Explanation:
Hope this helps lol! plz mark as brainliest!
How many slides would be in a PowerPoint presentation based on the formatting of the Word outline?
A. two
B. Three
C. Eight
D. Eleven
Answer:
A. two
Explanation:
can i have brainliest please
Answer:
Explanation:
It depends on how the presentation is organized. If there is one slide for each major section, then the answer is B. Three as there are 3 sections.
But if each outline has its own slide, then there will be D. Eleven slides.
Which of the statements below describe how to print a document?
Click on the Print icon at the tip of the screen.
Click on Print in the system tray.
Select Print from the Start menu.
Select Print from the File menu.
(On the picture above is what I have plz let me know if I’m wrong)
Name:
Computer Science
Modified
Python Coding Section C
Directions: Circle the best answer.
1. If the code below, what is the maximum amount of gold that can be in a treasure chest?
def treasure_chest():
gold = random.randint (1, 10)
print ("the treasure chest contains", gold, "pieces of gold.")
#Main program begins here
import random
player_gold = 5
print("There is a treasure chest here.")
treasure_chest()
+ None
C. Five
b. One
d. Ten
2. What is the output of this program?
def say_hello() :
print("Hello World)
say_hello)
say_hello
a. Hello world! Hello world!
b. "Hello World" "Hello World!"
C. Hello Hello
# None of the above
Answer:
The max Number would be D. TEN
Explanation:
Where it say the main program begins is where the use of import random is be using under the treasure chest function basicly the random.randint choose and random number between 1 through to 10..
HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP HELP
Answer:
I should be C! :D
Answer:
B
Explanation:
Consider the following code segment.
int[][] mat = {{10, 15, 20, 25},
{30, 35, 40, 45},
{50, 55, 60, 65}};
for (int[] row : mat)
{
for (int j = 0; j < row.length; j += 2)
{
System.out.print(row[i] + " ");
}
System.out.println();
}
What, if anything, is printed as a result of executing the code segment?
Answer:
10 20
30 40
50 60
Explanation:
Given
The above code segment
Required
What is printed, if anything
To do this, we analyze the code line by line.
Line 1: The first line creates a 4 by 3 array named mat
Line 2: for (int[] row : mat) { -> This creates row[] array which represents each row of array mat
Line 3: for (int j = 0; j < row.length; j += 2){ -> This iterates through the even indexed elements of the row array i.e. 0 and 2
Line 4: System.out.print(row[i] + " "); -> This prints the even indexed elements of the row array.
The even indexed elements are: 10, 20, 30, 40, 50 and 60
Line 5: System.out.println(); --> This prints a new line
You are an intern at Lucerne Publishing.
The company needs to use multiple versions of Microsoft Oce on each machine in the editing department.
Which virtualization strategy should the company use?
Answer:
Microsoft Application Virtualization (App-V)
Explanation:
Cloud computing can be defined as a type of computing that requires shared computing resources such as cloud storage (data storage), servers, computer power, and software over the internet rather than local servers and hard drives.
Generally, cloud computing offers individuals and businesses a fast, effective and efficient way of providing services.
In cloud computing, virtualization can be defined as a process which typically involves creating a virtual storage device, servers, operating system, desktop, infrastructure and other computing resources. Thus, virtualization is considered to be a building block (foundational element) of cloud computing as it powers it.
In this scenario, multiple versions of Microsoft Office are required to be used on each machine in the editing department. Thus, the virtualization strategy which the company should use is Microsoft Application Virtualization (App-V).
Microsoft Application Virtualization (App-V) refers to a virtualization and streaming software acquired by Microsoft from Softricity on the 17th of July, 2006. It is designed to avail software developers the ability to run, update and deploy (stream) software applications remotely to end users.
This ultimately implies that, end users could use multiple versions of a software application such as Microsoft Office 2013, 2016, etc., on each machine without having to worry about physically installing them on their Windows computer systems.
someone, please answer this.
This lesson showed you the general form of the syntax for a for loop in JavaScript:for
(initialize counter; condition; update counter) {code block;}
What does each part do, and why is it necessary?
Answer: A loop will continue running until the defined condition returns false . ... You can type js for , js while or js do while to get more info on any of these. ... initialization - Run before the first execution on the loop. ... But it can be used to decrement a counter too. statement - Code to be repeated in the loop.
Explanation:
Input a list of positive numbers, terminated by 0, into an array Numbers[]. Then display the array and the largest and smallest number in it.
Answer:
hope this helps and mark my ans brainliest if it helped.
Explanation:
def main():
Numbers = []
n = input("Enter the number: ")
while n != 0:
Numbers.append(n)
n = input("Enter the number: ")
if len(Numbers) > 0:
max = Numbers[0]
min = Numbers[0]
for i in range(0, len(Numbers)):
if max < Numbers[i]:
max = Numbers[i]
if min > Numbers[i]:
min = Numbers[i]
print Numbers
print "Largest: ", max
print "Smallest: ",min
main();
You are an intern at Lucerne Publishing.
The company needs to use multiple versions of Microsoft Once on each machine in the editing department.
Which virtualization strategy should the company use?
Answer:
jvgbicgbvhkvfvuncj gjvfjvfk fj
Who clarified the binary system of algebra
Answer:
Really good mine Bella
Explanation:
Yes it is it’s c with a L
What parts of a photograph determine whether a person looks quickly at a photo or studies it for a long period of time?( Minimum is a paragraph)
Using the drop-down menus, correctly complete the sentences.
A(n)
vis a set of step-by-step instructions that tell a computer exactly what to do.
The first step in creating a computer program is defining a(n)
the next step is creating a(n)
v problem that can be solved by a computer program.
A person writing a computer program is called a(n)
Answer:
It is computer program , Problem, Logic, Programmer
Explanation:
on edge
Implement the function printTwoLargest that inputs an arbitrary number of positive numbers from the user. The input of numbers stops when the first negative or zero value is entered by the user. The function then prints the two largest values entered by the user. If fewer than two distinct positive numbers are entered a message to that effect is printed instead of printing any numbers. Hint: Duplicates will cause problems. Try to make sure that you find a way to ignore them.
Answer:
The function in Python is as follows:
def printTwoLargest():
chk = 0
list1 = []
num = int(input("Enter: "))
while num > 0:
for i in list1:
if i == num:
chk+=1
break;
if chk == 0:
list1.append(num)
chk = 0
num = int(input("Enter: "))
list1.sort()
if len(list1) >= 2:
print("Largest:", list1[-1])
print("Second:", list1[-2])
else:
print("Length of list must be at least 2")
Explanation:
This defines the function
def printTwoLargest():
This initializes a check variable to 0
chk = 0
This initializes an empty list
list1 = []
This prompts the user for input
num = int(input("Enter: "))
The following loop is repeated until input is 0 or negative
while num > 0:
The following for loop checks for duplicate
for i in list1:
if i == num: If duplicate is found
chk+=1 The check variable is set to 1
break; And the for loop is exited
The input is appended to the list if the check variable is 0 (i.e. no duplicate)
if chk == 0:
list1.append(num)
This sets the check variable back to 0, for another input
chk = 0
This prompts the user for another input
num = int(input("Enter: "))
This sorts the list
list1.sort()
This prints the two largest if valid user input is 2 or more
if len(list1) >= 2:
print("Largest:", list1[-1])
print("Second:", list1[-2])
if otherwise, this prints that the length must be at least 2
else:
print("Length of list must be at least 2")
multimedia computer system required the following hardware component they are what
Put the steps in order to produce the output shown below. Assume the indenting will be correct in the program.
JDoe
1. Line 1
answer = username ('Joann', 'Doe')
2. Line 2
print (answer)
3. Line 3
def username (strFirst, strLast):
4. Line 4
return strFirst[O] + strLast
Answer:
The correct code is:
def username (strFirst, strLast):
return strFirst[O] + strLast
answer = username ('Joann', 'Doe')
print (answer)
Explanation:
The given code illustrates the use of functions.
i.e passing values to a function and retrieving values from it
So, first: We start with the def statement
def username (strFirst, strLast): ----> This defines the function
Then the return statement
return strFirst[O] + strLast --- > This passes value to the main
Next, is the main function of the program which is:
answer = username ('Joann', 'Doe') ---> This passes values to the username function
print (answer) ---> This prints the returned value from the function