Identify the commands for the following list operations.

Check that there are no items in a list
Insert 10, 50, 30, 40, and 20 at the end of the list
Arrange the items in ascending order

a. IsEmpty(list)
Prepend(list, 10)
Prepend(list, 50)
Prepend(list, 30)
Prepend(list, 40)
Prepend(list, 20)
Sort(list)

b. Search(list)
Append(list, 10)
Append(list, 50)
Append(list, 30)
Append(list, 40)
Append(list, 20)
Sort(list)

c. IsEmpty(list)
Append(list, 10)
Append(list, 50)
Append(list, 30)
Append(list, 40)
Append(list, 20)
GetLength(list)

d. IsEmpty(list)
Append(list, 10)
Append(list, 50)
Append(list, 30)
Append(list, 40)
Append(list, 20)
Sort(list)

Answers

Answer 1

Answer:

D

Explanation:

the answer is D because it does exactly what the problem says.


Related Questions

Java question

If the user wants to enter one character what statement you use?

1- next()?

2-next(0)?

3-CharAt(0).

4-next().charAt(0).

Answers

Answer:

To be honest why would you want to enter one character. Anyways the answer is option 4

[C++] 4.17 LAB: Print string in reverse Write a program that takes in a line of text as input, and outputs that line of text in reverse. The program repeats, ending when the user enters "Done", "done", or "d" for the line of text. Ex: If the input is: Hello there Hey done then the output is: ereht olleH yeH

Answers

The program illustrates the use of string manipulations.

String manipulation involves carrying out several operations (such as splitting and reversing of strings).

The program in C++ where comments are used to explain each line is as follows:

#include <bits/stdc++.h>

using namespace std;

int main(){

   //This declares a string variable

string str;

//This gets input for the variable

getline(cin, str);

//The following is repeated, until the user inputs "Done", "done" or "d"

while(str != "Done" && str !="done" && str !="d"){

    //This reverses the string

    reverse(str.begin(), str.end());

    //This prints the reversed string

    cout << str<<endl;

    //This gets another input

    getline(cin, str);

}  

return 0;

}

At the end of each loop, the reversed string is printed.

See attachment for sample run

Learn more about similar programs at:

https://brainly.com/question/24833629

why my react native code only rend white screen

Answers

Answer: https://stackoverflow.com/questions/51705627/react-native-white-blank-screen-issue this shows u why

Explanation:

major developments in 5th generation computers?​

Answers

Answer:

ULSI technology.

Development of true artificial intelligence.

Development of Natural language processing.

Advancement in Parallel Processing.

Advancement in Superconductor technology.

More user-friendly interfaces with multimedia features.

Availability of very powerful and compact computers at cheaper rates.

Explanation:

2. What does the menu system on your DVD player illustrate?
(1 point)
O interface
O link
O menu system
O search engine

Answers

Answer:

Interface, (A)

Explanation:

Because it just does

interface

the correct answe

Why did the spelling and grammar checkers in Word miss the errors highlighted in yellow?

Please help me

Answers

Answer:

Spelling and grammar missed them because the highlighted errors are actually words that are not in the right place and when you misspelled them, it turned into a word in the incorrect place.

Implement a number guessing game where a player will get up to seven chances to guess a mystery number in the range of 1 through 100.

Answers

The implementation of the guessing game ls written in python 3 which involves a maximum guess of 7 to make a prediction of the random integer generated.

import random

#import the random module for generating random numbers

num = random.randint(0, 100)

#generate a random integer value between 1 to 100 and store in the variable num

tries = 0

#initialize a counter to record the number of guesses made

while tries <7 :

#while loop ensures that only a maximum of 7 guesses is are made

guess = int(input('Enter your guess'))

#prompts user to make a guess

tries+=1

#increases the number of guesses by 1

if guess == num :

#checks if the guess is equal to the random number

print('success')

#dispaly success if true

elif tries < 7 :

#if not check if number of guesses is not up to 7 and tell user to try again

print('Try again')

elif tries == 7 :

#checks if number of tries is equal to 7

print('tries exceeded\n the random number is :', num)

# tell user that is number of tries has elapsed and display the correct number.

A sample run of the program and the output is attached.

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

Ms Excel is an example of______



Answers

Answer:

It is an example of a spreadsheet application

Explanation:

Ms Excel is an example of_spread sheet application_.

hope this helps you.

cách soạn thảo văn bản trên word

Answers

Answer:

Did you mean How to edit text on word? There are 2 word, Microsoft Word Office and WordPad. The step I give you below is for both.

Explanation:

Steps to edit text on word

Step-1: Select the text you want to edit.

Step-2: Click on Home Tab.

Step-3: Select the style(s) you want to edit from the Font group

How large are the laptop discounts for Black Friday?

Answers

Answer:

i dont know you can look it up in gogle

Explanation:

Answer: Some about 50% off, some 30% off.

I will mark brainlist please help


1) Top layer we used the following effect

• clipping mask

• release clipping mask

• rasterize type

• none of the above


2) Reflection layer blend mode changed to:

• overlay

• normal

• dissolve

• hard light



3) for the layer reflection copy we added

• input mask

• color overlay

• layer mask

• none of the above

Answers

Answer:

clipping mask

Explanation:

effect

c program how to input this? ​

Answers

Chchvjvcuvggiiog. Correct

[tex]\huge \boxed{\sf code}[/tex]

#include <stdio.h>

int  main() {

       // Declare the variables

       float a,b,c,d,e;

       float sum;

       // Ask the user to input

       printf("Enter the first number: ");

       scanf("%f",&a);

       printf("Enter the second number: ");

       scanf("%f",&b);

       printf("Enter the third number: ");

       scanf("%f",&c);

       printf("Enter the fourth number: ");

       scanf("%f",&d);

       printf("Enter the fifth number: ");

       scanf("%f",&e);

       // Use if statements to calculate the sum

       if (a < 0) {

               sum = sum + a;

       }

       if (b < 0) {

               sum = sum + b;

       }

       if (c < 0) {

               sum = sum + c;

       }

       if (d < 0) {

               sum = sum + d;

       }

       if (e < 0) {

               sum = sum + e;

       }

       // Print the sum

       printf("Sum of all negative integers = %.2f\n", sum);

       // Return an integer

       return 0;

}

[tex]\Large \boxed{\sf explanation}[/tex]

Declare the variables a, b, c, d, e, and sum as float type.

Display to the user to ask for input and take the input.

Use if statements to determine if a, b, c, d, and e are less than 0. If yes, then add them to the sum. If no, then skip to the following function.

Print the sum as a float type with 2 decimal points.

Return an integer.

Which trait can be a positive or negative?

Answers

Answer:

Prejudice can be either positive or negative.

choose the missing term
-------time
time.sleep(3)

Answers

Answer:

import

Explanation:

If this is python, you'll have to import the time module.

What are some good predictions for video games in 2030? I need good reliable sources that have timestamps, like they say 2030 in them. Thank you!

Answers

Answer:

The 2021 global games market will generate revenues of $175.8 billion and is projected to exceed $200 billion by the end of 2023, according to a report by Newzoo (via VentureBeat). More than half of these revenues will come from mobile gaming, the largest segment of the marke

Explanation:

hope it's helpful to you

What is lhe correct sequence of determining and development of CRM strategies?
1. Amplify commitment
2. Building valuable project team
3. Requirement analysis

Answers

Answer:

Plugins

API Docs

Find an Expert

Sendinblue Academy

Customer Stories

Premium Templates

Product Updates

Become a Sendinblue Expert

Sign up free

Log in

September 21, 2020

8 Steps to Creating a CRM Strategy for Your Business

Reading time about 9 min

What is a CRM strategy?

A Customer Relationship Management strategy is a plan to grow sales and improve customer service through a combination of processes, actions, and technology. It typically involves the sales, marketing, and customer service functions of a business.

What was once the traditional buyer-seller model has shifted from transactional to customer-centric. Customer relationships today require higher levels of maintenance, which is why businesses now have entire CRM strategies dedicated to managing them.

One of the reasons is that consumers have bigger expectations than ever when it comes to customer service. They’re not going to think twice about going elsewhere if yours isn’t up to scratch.

When we hear the words ‘CRM strategy’, we’re inclined to think about CRM software. But software is only one piece of a much larger puzzle.

The best customer relationship management strategy incorporates both people and software.

Stay tuned for our comprehensive 8-step guide to developing a CRM strategy for your business.

sorry if i dont help you

How many bits are in a single byte?

Answers

Answer:

8. One byte is 8 bits, 2 bytes is 16 bits, etc

give atleast 5 example of ENFRAMING in our daily lives

Answers

Answer:

1. steel is produced to be used in such things as the production of automobiles, and, although steel is not the automobile, it is, nevertheless, affected by the “coming into being” of the automobile.

Steel is produced to be used in such things as the production of automobiles, and, although steel is not the automobile, it is, nevertheless, affected by the “coming into being” of the automobile.

What is Automobile?

The first steam-powered vehicle was created in 1672, marking the beginning of the development of the car. Nicolas-Joseph Cugnot produced the first steam-powered automotive that could transport people in 1769.

Around the beginning of the 19th century, inventors started to take risks and developed the de Rivas engine, one of the first internal combustion engines, and an early electric motor. The Volkswagen Beetle and the Ford Model T are two of the most widely produced car models in history, respectively.

A backlash against huge vehicles in the middle of the 19th century slowed development, but certain internal combustion engines nevertheless advanced.

Therefore, Steel is produced to be used in such things as the production of automobiles, and, although steel is not the automobile, it is, nevertheless, affected by the “coming into being” of the automobile.

To learn more about automobile, refer to the link:

https://brainly.com/question/1193772

#SPJ2

Which kind of devices uses radio waves to transport data? devices use radio waves to transport data.

Answers

Answer:

In computer networking, RF is used to describe network devices (hubs, bridges, etc.) that transmit data signals using radio waves instead of data cables or telephone lines.

Explanation:

Answer:

In computer networking, RF is used to describe network devices (hubs, bridges, etc.) that transmit data signals using radio waves instead of data cables or telephone lines.

Explanation:

Write the types of computer viruses.​

Answers

File infecting virus, web scripting virus, resident virus browser hijacker

Which of the following correctly orders the steps involved in the outlining process?

brainstorm, order, organize, label
brainstorm, organize, order, label
organize, brainstorm, label, order
organize, brainstorm, order, label

Answers

Answer:

brainstorm, organize, order, label

Explanation:

The answer is:

brainstorm, organize, order, label

A partition is the _____.


an application that makes an operating system easier to use, also known as a shell

section of a hard drive

the core of an operating system that controls the basic functions

software that can be downloaded from the Internet at no cost

Answers

A partition is a section of a storage device

Of the following hard drives, which one is fastest?
a. SATA 6 Gb/s SSD
b. SATA 6 Gb/s 10,000-RPM drive
c. M.2 SSD using a SATA3 interface
d. PCIe NVMe SSD card

Answers

Answer:

D. PCIe NVMe SSD card

Explanation:

PCIe NVMe SSD cards are ludicrously fast even compared to some modern SSD drives today. Some can even average up to 8 GB/s while moving/copying files, though, the price tag is pretty high compared to some other SSD / HDD drives.

what are work incidents/situations or ethical problem?

Answers

5 Common Ethical Issues in the Workplace

Unethical Leadership.

Toxic Workplace Culture.

Discrimination and Harassment.

Unrealistic and Conflicting Goals.

Questionable Use of Company Technology.

Jfsnu vnjdjsmamsnsndjxmxnhsc e

What is lhe correct sequence of Sprint Zero?
1. Estimate roughly
2. Form backlog
3. Setup environment
4. Define user stories

Answers

Answer:

Get some quality items on the Product Backlog

Product backlog for your credit bill nye is due for a week of

Which of the following is NOT an example of a computer? O Judge O ENIAC O Calculator O Abacus​

Answers

Answer:

Judge

Explanation:

ENIAC was the first programmable

Calculators are very simple electronic computers

Abacus are non-electronic computers

Judge is your answer

Name the major types of computer systems from slowest to fastest. ​

Answers

Answer:

Cache is the fastest and most expensive, RAM is slower and less expensive, and virtual memory is the slowest and least expensive type.

Explanation:

10 shortcuts in word processing

Answers

Answer:

Word shortcut keys

Ctrl + A -- Select all contents of the page.

Ctrl + B -- Bold highlighted selection.

Ctrl + C -- Copy selected text.

Ctrl + X -- Cut selected text.

Ctrl + N -- Open new/blank document.

Ctrl + O -- Open options.

Ctrl + P -- Open the print window.

Ctrl + F -- Open find box.

Answer:

Ctrl + A -- Select all contents of the page.

Ctrl + B -- Bold highlighted selection.

Ctrl + C -- Copy selected text.

Ctrl + X -- Cut selected text.

Ctrl + N -- Open new/blank document.

Ctrl + O -- Open options.

Ctrl + P -- Open the print window.

Ctrl + F -- Open find box.

Explanation:

Answer this pls ASAP

Answers

Answer:

I'm not going to answer it just because you said "ASAP" never rush an intellectual such as ME.

A mobile service provider has two data plans for its customers:

Silver plan: For $29.99 a month, 4 gigabytes are provided. Additional data costs $10 per gigabyte.
Gold plan: For $49.99 a month, 8 gigabytes are provided. Additional data costs $5 per gigabyte.

For both plans, the additional data is rounded up to an integral number of gigabytes. For example, if the additional data is 2.1 gigabytes, it is rounded up to 3 gigabytes, and the cost is $30 for the silver plan and $15 for the gold plan. Write a program that displays a menu of choices.

Answers

The program is an illustration of built-in functions and conditional statements.

Built-in functions are functions that have specific roles defined in them, while conditional statements are statements whose execution depends on the truth values of the condition.

The program in Python, where comments are used to explain each line is as follows:

import math

#This prints the menu

print("Menu\n1.- Silver plan\n2. Gold plan")

#This gets input for the plan from the user

selection = int(input("Select a plan: "))

#This gets the additional data from the user

additional_data = float(input("Additional data: "))

#This rounds up the additional data to the next integer

additional_data = math.ceil(additional_data)

#If selection is 1

if selection == 1:

   #This calculates the additional cost and the total cost

   additional_cost = 10 * additional_data

   total = additional_cost + 29.99

#If selection is 2

elif selection == 2:

   #This calculates the additional cost and the total cost

   additional_cost = 5 * additional_data

   total = additional_cost + 49.99

#For other inputs, the selection is considered invalid

else:

   print("Invalid selection")

#This prints the additional and the total costs, for selections 1 and 2

if selection == 1 or selection == 2:

   print("Additional cost:",additional_cost)

   print("Total cost: {:.2f}".format(total))

At the end of the program, the appropriate costs are printed for valid selections.

Read more about similar programs at:

https://brainly.com/question/25210352

Other Questions
answer this essential question in a minimum of three paragraphs, one of which should be an introduction:What were short-term and long-term causes and effects on civilizations of disease and trade as they related to long distance trade from 1450 to 1750. Will mark brainliest write a paragraph of 120 words about your sport activities you often have in your free time What does the term organelle mean, literally? Someone plz help me :( A. Sentence 2B. Sentence 4C. Sentence 3D. Sentence 1 a machine called os used for both harvesting and threshing What do you say when you want to finish the negotiation Please help me, Im not very good at Pythagorean Theorem. The picture of the problem is attached. Really appreciate it narrative essay ending with the statement: "Indeed it was the biggest lesson of my life" Find the range if the domain of the coordinate transformation f(x,y) = (x + 3, y-2) is(1,1),(3,-1) and (2,-5). How can people of African heritage emancipate themselves frompsychological slavery? Fill in the missing number. % of 70,000 = 35,000 Find the measures of the angles of each triangle (in degrees) and classify the triangle as acute/right/obtuse and scalene/isosceles/equilateral (one from each triple)A=5x - 10 B = 3x C= 2x - 10 Use the distributive property to remove the parentheses.-3(-6y +3w-2) What is the average orbital speed of mars ? What does Leotas syntax reveal about her? A line y intercept is 4 and its slope is 1/6 what its equation in slope intercept from 1.A building has a height of 125 meters and a length of 80 meters. On a scale drawing of thebuilding, the height is 25 centimeters.What is the length of the building on the scale drawing in centimeters?2. HELP ME PLZZZ Jurisdiction refers to: Group of answer choices A defendants interest in having an impartial jury preside over a case The plaintiffs interest in having a case heard in district court. The courts power to render binding decisions on parties before them. The power of the plaintiff to file a lawsuit in any court of his choosing. The power of a defendant to have a case removed to an unbiased court. Is the verb of the following sentence Transitive or Intransitive?The captain yelled loudly. Hasta la raz COMMONLIT ANSWERS