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
Jlenok [28]
4 years ago
10

Create a function called full_name. Pass two parameters to the function, an employee’s last name and first name. The function sh

ould return the full name in the format, last name, comma, space, first name (for example: Smith, Joe). Save your code.
Computers and Technology
1 answer:
marissa [1.9K]4 years ago
6 0

Answer:

The solution code is written in Python:

  1. def full_name(lastName, firstName):
  2.    return lastName + ", " + firstName  

Explanation:

Firstly, create a function and name it as<em> full_name</em> that takes two parameters, <em>lastName</em> and <em>firstName </em>(Line 1).

In the function body, we can simply use plus operator, "+", to join the <em>lastName</em> string, comma and <em>firstName</em> string into a concatenated string. Please note a single space is made right after the comma (Line 2).

At last, return the concatenated string as function output.

You might be interested in
Encapsulation is a form of information hiding and an important characteristic of object-oriented programming. When a programmer
Ostrovityanka [42]
<h2>Answer:</h2>

There are a whole lot of encapsulation or information hiding examples in the Bible. Here are about 3 of them:

i. <em>The parables of Jesus</em>. Many times Jesus spoke in parables to teach His disciples and until He's explained they would not get the meaning.

ii. <em>The interpretation of dreams by Joseph</em>. A noticeable example is the one of the baker and the butler in Genesis 40. Each of them - the butler and the baker - both had a dream but the actual meaning and interpretation of those dreams were not known by them.

iii. <em>Peter walking on water</em> is yet another example of encapsulation. He was only following the instruction of the master. How he was able to walk on water was a mystery to him. Only Christ the master knew how. Encapsulation.

3 0
3 years ago
Which of the following gestures would you use if you want to activate a link on your new tablet?
Gre4nikov [31]

Answer:

press and hold

Explanation:

When you press and hold, some open a menu where you can add a link

8 0
3 years ago
Determine the exact output of the code $str = "The quick brown fox jumps over the the lazy dog"; echo strpos($str, 'fox');
LuckyWell [14K]

Answer:

b. 16

Explanation:

The given PHP code segment consists of 2 statements.

$str="The quick brown fox jumps over the lazy dog";

This defines a variable $str and assigns the given text to it.

echo strpos($str,'fox');

This statement prints the location of 'fox' in the text associated with the variable $str.

Upon execution it will print the value 16 which corresponds to the position of 'fox' in the given sentence.

3 0
4 years ago
Which of the following are all involved in the evaluation of the presentation of a speech?
ikadub [295]

Answer:

C.

Explanation:

The elements involved in the evaluation of the presentation of a speech includes visual aids, vocal technique, and body language.

Adding vivid pictures in the presentation makes it graphic and proficient. The visual aids in presentation also provides the succinct and clear meaning of the message to the reader.

The vocal technique is another element that adds value in presentation. A speaker's confidence is reflected through his/her tone. It is the speaker's voice that becomes an influential tool that draws the audience's attention.

Body language, like vocal technique, helps in effective delivering of the speech. Body language is a non-verbal form of communicatin that communicates a lot to the audience than one can imagine.

Therefore, option C is correct.

6 0
3 years ago
The which command _________________. a. can only be used to search for executables b. searches for a file in all directories sta
dsp73
Answer: D. Searches for a file only in the directories that are in the path variable
6 0
2 years ago
Other questions:
  • Mara's presentation included essential information about the company's new safety procedures. She wanted to make
    13·2 answers
  • A touch screen is classified as a special type of scanning device true or false
    15·1 answer
  • To delete the hyperlink but keep the text, right-click the hyperlink cell, and then click ____ hyperlink
    14·1 answer
  • How do you create a logo on Adobe illustrator
    8·1 answer
  • Fill in the blanks!
    14·1 answer
  • Write down the functions of network layer in your own words.ASAP
    14·1 answer
  • It is common for people to name directories as dir1, dir2, and so on. When there are ten or more directories, the operating syst
    8·1 answer
  • Complete the code to convert a float to a string. <br> answer=5.3 <br> strAnswer=__ (answer)
    12·2 answers
  • What is the definition of shape
    14·2 answers
  • The different languages that follow specific RULES. These languages use commands
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!