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
fiasKO [112]
3 years ago
9

Create a pseudocode program that asks students to enter a word. Call a function to compute the different ways in which the lette

rs that make up the word can be arranged.
Computers and Technology
1 answer:
Arte-miy333 [17]3 years ago
6 0

Answer:

The pseudocode is given below

Explanation:

<u>Pseudocode</u>

  • Prompt user to enter string
  • Pass it to combination function which will calculate the total combination and will return it in array
  • In combination method -
  • Check if the string is length 2 size ie of 0 or 1 length then return string itself
  • Else iterate through string user entered
  • Get the current character in variable and check if the variable is already used than skip
  • Create a string from 0 to ith index + (concatencate) i+1 to length and recursive call combination function and pass this string and store result in subpermutation array
  • For each recursive call push character + subPermutation in totalArrangement array .
You might be interested in
You can use the ____ to change the order of the wat windows are stacked.
djyliett [7]

Answer:

A

Explanation:

6 0
3 years ago
11. Which one of the following buttons is used for paragraph alignment?<br>​
Luba_88 [7]

Answer:

<em>C</em>

Explanation:

Option <em>A </em>is used for line spacing.

Option <em>B </em>is used for right indent.

Option <em>C</em> is used for right paragraph alignment.

Option <em>D</em> is used for bullet points.

The button used for paragraph alignment would be option <em>C</em>.

3 0
3 years ago
The____________ is becoming the preferred organizational structure for more andmore organizations with the passage of time.
mario62 [17]

Answer: Hierarchical structure

Explanation:

The hierarchical structure is the most preferred structure for an organisation. As more and more people join an organisation with the passage of time we can clearly see the different links between the persons and the their hierarchical level to the organisation. In this process it becomes easier to manage the people at the various levels.

7 0
3 years ago
A binary search function is searching for a value that is stored in the middle element of an array. How many times will the func
Ganezh [65]

Answer: 1 time.

Explanation:

  • A binary function is also known as a half-interval search is a search algorithm to find the position of a given element x within a well-sorted array [].
  • Binary search compares the target value to the middle element of the array.
  • It ignores half of the elements just after one comparison.
  • it compares x with the middle element.

So, the function read an element <u>one time</u> in the array before finding the value.

3 0
3 years ago
Which command displays a text file, one page at a time? question 17 options:?
maks197457 [2]
The command is more.

hope this helps.
6 0
3 years ago
Other questions:
  • What were precomputed tables and why were they necessary?​
    12·2 answers
  • What do you call a named collection of data stored on a disk?
    15·1 answer
  • A server that provides data transfer and storage space at remote locations is called a
    7·1 answer
  • At age 16 Cheyanne just got her drivers license
    5·2 answers
  • Lenovo's ThinkPad laptop computers is designed in the United States, the case, keyboard, and hard drive are made in Thailand; th
    14·1 answer
  • What is the difference between the paste and paste special options
    8·1 answer
  • Who Likes K-pop? Which group or groups do you like
    12·2 answers
  • PLZZZZ help will give brainlest
    5·1 answer
  • Create a basic program that accomplishes the following requirements: Allows the user to input 2 number , a starting number x and
    12·1 answer
  • My assignment asks me to write a python program using if, elif, and else that takes a user's salary and calculates the tax based
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!