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
Tema [17]
4 years ago
8

Which is true about lists and stacks?

Computers and Technology
1 answer:
frutty [35]4 years ago
4 0

Answer:

A. list are first in first out and stack are just a special case

<h3>hope this helps!</h3>
You might be interested in
You are reviewing the code written by another programmer, and encounter a variable whose name is entirely in capital letters. Wh
ASHA 777 [7]

Answer:

Option A is the right answer.

Explanation:

In any programming language, when a user needs to define the constant variable then he should need to define the variable in capital letter. It is not necessary for the compiler point of view but it is necessary for the standardization point of view. It means that when a user does not define the constant variable in the capital letter then it will never give an error.

Option "a" also states that the variable is constant and the scenario is to define the variable in capital letter hence option a is correct while the other is not because--

  • Option b states that the user-defined reference variable but the reference variable is defined with the help of (*) symbol.
  • Option c states about the loop variable but the loop variable also can define by small letters.
  • Option d states that it is used for dynamic value but for dynamic variable a user can define small letters.
4 0
3 years ago
Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print "Too few.". If more than
Masteriza [31]

Answer:

See explaination

Explanation:

#Run the code in the python version 3.x.

#Define the function.

def shampoo_instructions(num_cycles):

#Check the cycles to be greater than 1.

if num_cycles < 1:

#Display the statement.

print('Too few.')

#Check the cycles to be greater than 4.

elif num_cycles > 4:

#Display the statement.

print('Too many.')

#The else part.

else:

#Initialize the variable.

N = 1;

#Begin the for loop.

for N in range(N, num_cycles+1):

#Print the result.

print(N , ": Lather and rinse.")

#Print the statement.

print('Done.')

#Call the function.

shampoo_instructions(2)

7 0
3 years ago
A Use-Case diagram is a staticdiagram?
Arte-miy333 [17]

Answer:

No, Use-Case diagram is a not a static diagram.

Explanation:

Only static diagram is not adequate to model a system that is more dynamic than static behavior. In Unified Modeling Language, five diagrams are accessible to model the dynamic nature and use case diagram is one of them.

Use case diagrams is made up of actors, use cases and their interactions. The diagram is used for modeling an application's system / subsystem. A single use case diagram depicts a system's specific features.

4 0
3 years ago
What is a computer? ​
miv72 [106K]
<h2><em>what is a computer? </em></h2>

  • <em>A <u>computer</u> is a machine that can be programmed to carry out sequences of arithmetic or logical operations automatically. Modern computers can perform generic sets of operations known as programs. These programs enable computers to perform a wide range of tasks. </em>

<em>hope </em><em>it</em><em> helps</em>

<em>#</em><em>c</em><em>a</em><em>r</em><em>r</em><em>y</em><em> </em><em>on</em><em> learning</em>

5 0
3 years ago
Read 2 more answers
A ________ attack uses software to try thousands of common words sequentially in an attempt to gain unauthorized access to a use
Andrej [43]
Malware
Hope this helps
3 0
3 years ago
Other questions:
  • Which information technology job has the lowest predicted 10-year growth? computer programmer software developer computer suppor
    13·1 answer
  • "Two technicians are discussing FWD driveshaft service. Technician A says that removal of the driveshaft usually requires partia
    15·1 answer
  • Set-In-Order includes making changes to the layout of the area.A) TrueB) False
    12·1 answer
  • The blank is the area on your screen where you can access the tab and menu options for word
    5·1 answer
  • In this problem, you will write three methods to:
    12·1 answer
  • Firewall ____ indicate whether a large number of echo messages are being received.
    9·1 answer
  • In the context of machine learning, an artificial neural network (ANN) is most likely used for:a.supplying explanations for solu
    9·1 answer
  • Please tell me which ones go into which categories no files!!
    11·1 answer
  • What kind of charger can i use for this
    10·2 answers
  • A _____ focuses on creating software systems like tools, utilities, antivirus programs, and operating systems.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!