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
barxatty [35]
4 years ago
13

Write the pseudocode for a function named getFirstName that asks the user to enter his or her first name, and returns it. Write

the main module that declares a variable called name, calls getFirstName (setting its return value into name), and displays that name with a user-friendly message.
Computers and Technology
1 answer:
ohaa [14]4 years ago
7 0

Answer:

Function getFirstName(nameInput)

  Declare nameInput

  Display "Please enter your first name."

  Input nameInput

  Return nameInput

End function

Module main()

  Declare name

  Call getFirstName(name)

  Display "Hi + 'name'!"

End module

Explanation:

First, we define the function getFirstName(nameInput) that has the parameter nameInput to get the input name a retrieve it to the module main. Then, we define the module main that declares the variable name, calls and retrieves the name variable of the function previously defined.

You might be interested in
Which is an advantage of a computer network?
stealth61 [152]
The answer is "networks allow computer to connect quickly and to share data or equipment". This is true because with a commuter network you can instantly share files to all the other computer by putting them of the network file storage center. This also allows multiple pieces of equipment to be used to complete one task that would usually take longer if a single computer did it
5 0
3 years ago
Read 2 more answers
Who elso does their online school in their bed cause i do
Katen [24]

Answer:

yeah same

Explanation:

3 0
3 years ago
Read 2 more answers
Write down the name of output devices
notka56 [123]

Answer:

Monitor

Printer

Headphones

Computer Speakers

Projector

GPS

Sound Card

Video card

4 0
3 years ago
Read 2 more answers
What is the differnce between concurrent software and sequential software and which one is better with multiprocessors ???
3241004551 [841]

Answer:

Concurrent software is better suited to parallel processing environment represented by multiprocessors as compared to sequential software.

Explanation:

Sequential software corresponds to a code which is executed step by step on  a single processing unit. A concurrent software on the other hand supports parallel execution by splitting the execution across multiple parallely executing component units. A multiprocessor system speeds up concurrent execution by providing independent execution units (processors) for these code segments running parallely. So concurrent software is better suited to multiprocessors.

4 0
4 years ago
Why communication sattelites are in geosynchronous orbit?
madam [21]

Answer:

Communication satellites are in geosynchronous orbit as, orbits are above the equator directly in the earth where the eccentricity is zero in the orbit and the objects which are geostationary are visible motionless in the sky of the earth. So, that is why, the orbit contain artificial satellite and the satellite distance are varying by the longitude.

4 0
3 years ago
Other questions:
  • Query: [mcdonalds Austin] Viewport: Fresh User Location: within Houston, TX Result Returned: McDonalds location in a neighboring
    7·1 answer
  • In evaluating a loop, you find the following statement:
    11·1 answer
  • I need help <br> Match each words with its definition!!!<br> Please helpppppppp
    12·1 answer
  • You will be given a value of n and k, one line each. You will write a program that determines the minimum number of probe attemp
    9·1 answer
  • * Declare a variable called "race" of type "Race", andinitialise its value to a new instance of the "Race" class. The"Race" cons
    10·1 answer
  • Which of the following statements isNOT true about abstract data types (ADTs)?A list is anexample of an ADT.ADTs hide theimpleme
    7·1 answer
  • What specific tool allows you to create GPOs, view a GPO's settings, link and unlink GPOs with containers, and manage the inheri
    10·1 answer
  • Global knowledge is the same as common knowledge.
    15·2 answers
  • One of Kyle’s clients called to complain that his computer was running really slow. Kyle went to the client’s work area and star
    6·1 answer
  • PLEASE FASTTTTT
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!