Answer:
cience
Explanation:
From the question, the string variable str was initialized to "Computer Science:
str.substring(10) implies that we get a substring starting from the character at the 10th index till the last index
In this case, the 10th index character is c
So, the instruction will return cience
Answer:
Hi there! The question is checking your knowledge on Pseudocode. Pseudocode is a high level solution written in plain English to outline the steps needed for the program to work correctly. An implementation for the different parts of the question is written below.
Explanation:
1. Determine the area of a triangle
declare formula for area calculation of triangle as ½ * (base * height)
validate input parameters “base” and “height”
apply formula and return result
2. Compute the interest earned Prompt user for input 2
declare formula for interest calculation as annual interest rate * term * starting account balance
validate input parameters “interest_rate” and “starting_account_balance ”
apply formula and return result as final balance at the end of the year as the interest earned + starting balance.
3. Determine the flying time between two cities given the mileage M between them and the average speed of the airplane.
declare formula for time calculation of triangle as time = distance / speed
validate input parameters for mileage “M” and speed “S”
apply formula and return result
Answer: A- Public Key Encryption
Explanation: The Public key Encryption is used prevalently on the web, it allows for secure messages to be sent between parties without having to agree on, or share, a secret key. It uses an asymmetric encryption scheme in which the encryption key is made public, but the decryption key is kept private.
The above question has multiple choices as below
<span>A. Data links
B. The post office
C. Driving a car
D. A train
The answer is (B) The Post Office.
In layman’s terms, transport layer is similar to the post office functions of delivering parcels and letters at the agreed delivery deadlines. It also notices any dropped info and re-transmits it.
Just like the post office, the transport layer directs messages and information between specific end users. If by mistake you write a letter to the wrong person, the letter will be returned and the postal employee will stamp it as address unknown.
</span>
Answer:
Economic.
Explanation:
In the following scenario, In Quincy, WA, a community that formerly would have a community of 3,500, they are developing new infrastructure. In addition to such friends and neighbors, Quincy citizens will also be seeing more traffic signals, a shopping center, rising property prices, and new opportunities.
So, the following scenario is best suited for the economic changes.