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
Zinaida [17]
2 years ago
5

pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day.

Computers and Technology
1 answer:
crimeas [40]2 years ago
4 0

A pseudocode for a software program that allows this user to enter a value for hours worked in a day is as follows:

START

input hours_WorkedDay

hours_WorkedWeek = hours_WorkedDay * 5

hours_WorkedYear = hours_WorkedDay * 252

output hours_WorkedWeek

output hours_WorkedYear

STOP

<h3>What is an algorithm?</h3>

An algorithm can be defined as a standard formula which comprises a set of finite steps and instructions that must be executed by a software program, in order to proffer solutions to a problem on a computer, under appropriate conditions.

         

<h3>What is a pseudocode?</h3>

A pseudocode can be defined as a description of the steps that are contained in an algorithm, especially through the use of a plain (natural) language.

A pseudocode for a software program that allows this user to enter a value for hours worked in a day is as follows:

START

input hours_WorkedDay

hours_WorkedWeek = hours_WorkedDay * 5

hours_WorkedYear = hours_WorkedDay * 252

output hours_WorkedWeek

output hours_WorkedYear

STOP

Read more on pseudocode here: brainly.com/question/13208346

#SPJ1

Complete Question:

Write pseudocode to represent the logic of a program that allows the user to enter a value for hours worked in a day. The program calculates the hours worked in a five-day week and the hours worked in a 252-day work year. The program outputs all the results.

You might be interested in
Assume that you are able to do an exhaustive search for the key to an encrypted message at the rate of 100 Million trials per se
Len [333]

Answer:

Following are the solution to this question:

Explanation:

In point 1:

Trials frequency = \frac{100 \  million }{second}

calculating the main length of cryptography = 112 bit

\to 100\  Million = 1 \times 10^8

calculating the second year value:

\to 365 \times 24 \times 60 \times 60 =3153600\\\\

                                  =3.15 \times 10^7 \ seconds

Currently, in average , at least half the possible sleeves is being used to verify the encryption process:  2^{111} \ keys

\to \frac{2^{111} \time3s 10^6}{3.15 \times 10^7}\approx 8.22 \times 10^{20} \ years

the total time value will be 8.22 \times 10^{20} \ years

In point 2:

In cryptography, the common name is Triple DES (3DES), which would be the symmetric-key encrypted communication algorithm (TDEAor Triple DEA), which adds 3 times per block size only with the cryptographic method Data Encryption Standard ( DES).  

Algorithm:-

The key package involves four DES keys, K1, K2, and K3, each 56-bit (except parity bits), Triple DES includes. Its encoding algorithm is::  

ciphertext = EK3(DK2(EK1(plaintext)))

I.e. K1, DES encrypt, K2 decrypt, then K3 encrypt DES.  

The reverse is the decryption:  

plaintext = DK1(EK2(DK3(ciphertext)))

I.e. decrypt by K3, crypt by K2, decrypt by K1.  

Every three-bit authentication encrypts a 64-bit block.

Its middle procedure in each situation it's the reverse of the first operation. It improves the strength of the key second option algorithm which offers DES native support with key option 3.

4 0
3 years ago
Why would a programmer want to overload operators rather than use regular member functions to perform similar operations?
Harlamova29_29 [7]
The Programmer wants to overload operators rather than use a regular member of the functions to perform similar operations because of two main reasons:
1. For easy and simpler definition of the functions. There would be one pointer who will call the function every time is needed in the program.
2. For easier comparisons of parameters.
4 0
4 years ago
Flash drives plug into a(n) _
Alecsey [184]
A flash drive plugs into a USB Port
7 0
3 years ago
Read 2 more answers
To which type of domain does information on wikis belong?
Misha Larkins [42]

Answer:

Hope it helps you. ^_^

Explanation:

".info (TDLs)" domain.

3 0
3 years ago
Write the following short piece of code in python:
elena55 [62]

Programmers refer to a brief section of reusable source code, machine code, or text as a “snippet.” These are typically explicitly defined operational units that are integrated into bigger programming modules.

<h3>What are the short piece of code in python?</h3>

Guido van Rossum created Python, an interpreted, object-oriented, high-level programming language with dynamic semantics. It was first made available in 1991.

The syntax of Python is straightforward and resembles that of English. Python's syntax differs from various other programming languages in that it enables programmers to construct applications with fewer lines of code.

Therefore, Python operates on an interpreter system, allowing for the immediate execution of written code. As a result, prototyping can proceed quickly.

Learn more about python here:

brainly.com/question/10718830

#SPJ1

5 0
2 years ago
Other questions:
  • Which Tire would you use to explain a set of phones in an HTML document?
    12·1 answer
  • Can using interior light help improve a drivers visibility at night
    9·1 answer
  • Can some please help me learn how to make a program via Binary Code?
    7·1 answer
  • What will Jason need to assemble a microcomputer and connect it to memory chips
    8·1 answer
  • A(n) _____ describes your core values and highest career goals. A. résumé B. objective statement C. qualifications profile D. pe
    7·2 answers
  • To insert a footnote in a document, a user would navigate to the _____ tab.
    5·2 answers
  • Is a pocket watch consider a computer
    15·1 answer
  • Do u have to divide or multiply this problem 5300 yd = mi
    9·1 answer
  • Discuss your favorite video games and why you like them. What types of features make a game fun to play? Why are they features e
    11·2 answers
  • What is better for a samsung tab a7 a 32 gb or 64
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!