Write structured pseudocode that describes how to buy a new shirt. Include at least two decisions and two loops.

Answers

Answer 1

Answer:

Here is a structured pseudocode that describes how to buy a new shirt, including at least two decisions and two loops:

```

procedure buy_shirt()

   declare

       desired_color: string

       desired_pattern: string

       desired_size: string

       desired_price: integer

       found_shirt: boolean

   begin

       print "What color shirt do you want?"

       read desired_color

       print "What pattern do you want?"

       read desired_pattern

       print "What size do you want?"

       read desired_size

       print "What price are you willing to pay?"

       read desired_price

       found_shirt := false

       while not found_shirt do

           print "Searching for a shirt..."

           for each shirt in store do

               if shirt.color = desired_color and shirt.pattern = desired_pattern and shirt.size = desired_size and shirt.price <= desired_price then

                   found_shirt := true

                   break

               end if

           end for

       end while

       if found_shirt then

           print "Found shirt!"

           print shirt.color, " ", shirt.pattern, " ", shirt.size, " ", shirt.price

           print "Do you want to buy it?"

           read answer

           if answer = "yes" then

               buy shirt

           end if

       else

           print "No shirt found."

       end if

   end procedure

```

This pseudocode includes two decisions: one to determine whether the desired shirt has been found, and another to determine whether the user wants to buy the shirt. It also includes two loops: one to search the store for the desired shirt, and another to allow the user to enter their answer.

Explanation:


Related Questions

In one paragraph, discuss the meaning of educational technology.

Answers

Educational technology, or EdTech, refers to the use of technology to enhance and support teaching and learning processes.

What does this include?

This includes a wide range of tools, such as computers, software applications, digital devices, and online resources, which are designed to improve student engagement, learning outcomes, and overall educational experiences.

Educational technology can be used to facilitate communication and collaboration, personalize learning, provide access to information, and streamline administrative tasks. Its ultimate goal is to promote effective and efficient learning, while empowering educators and students to achieve their full potential in a rapidly changing digital world.

Read more about edutech here:

https://brainly.com/question/14804477

#SPJ1

PLS HELP
In terms of data types, which of the following is an integer?
A) t
B) Boolean
C) -8.14567
D) 07/13/2001

Answers

It would be C because its the only answer with numbers only

CORPULENT means:
Lean
Gaunt
Emaciated
Obese

Answers

Is means obese

If right please mark me as brainy

PLS HELP
In terms of data types, which of the following is an integer?
A) t
B) Boolean
C) -8.14567
D) 07/13/2001

Answers

It would be C because its the only answer with only numbers

Find the service ID and property ID for each service request whose estimated hours are greater than the number of estimated hours of at least one service request on which the category number is 5

Answers

The SQL query that find the service ID and property ID for each service is added below

Writing the SQL statement

To find the service ID and property ID for each service request whose estimated hours are greater than the number of estimated hours of at least one service request on which the category number is 5, we can use the following SQL query:

SELECT s.service_id, s.property_id

FROM service_requests s

WHERE s.estimated_hours > ANY (

   SELECT s2.estimated_hours

   FROM service_requests s2

   WHERE s2.category_number = 5

)

This query uses a subquery to find the maximum number of estimated hours for service requests with category number 5, and then uses the ANY operator to compare each service request's estimated hours to that maximum value.

Read more about SQL statement at

https://brainly.com/question/30078874

#SPJ1

What determines if parts match of computer, and suggested components fit together. provide alternatives to the parts that do not fit the build

Answers

Socket type, chipset, and power requirements are a few examples of elements that affect how compatible computer components are with one another.

What are the two parts of a computer that it needs to function?

Hardware and software are the two essential parts of every computer. Everything that can be seen or touched is referred to as "hardware," including the display, casing, keyboard, mouse, and printer. the section of the programme where the physical elements are used

What is inside every computer?

All computers, at their most basic level, consist of a processor (CPU), memory, and input/output components. The input that each computer gets from various devices is processed by the CPU and RAM.

To know more about computer  visit:-

https://brainly.com/question/16400403

#SPJ1

Which of the following does NOT need to be considered when determining the credibility of a source?

a. sponsorship of the article or publisher

b. use of persuasive techniques within the source

c. publisher's reputation and credentials

d. authors reputation and credentials

Answers

The correct option is B. use of persuasive techniques within the source

Determining factors of the credibility of a source

While the use of persuasive techniques may affect the persuasiveness of a source, it does not necessarily determine its credibility.

Credibility is determined by the reliability and accuracy of the information presented, which can be assessed by considering the sponsorship of the article or publisher, the publisher's and author's reputation and credentials, and other factors such as the timeliness and relevance of the information.

Therefore, while the use of persuasive techniques may be a factor to consider when evaluating the overall quality of a source, it is not essential to determine its credibility.

Read more about credibility at: https://brainly.com/question/2174775

#SPJ1

how student information management system

Answers

Answer:A student information management system (SIMS) is a software tool that enables educational institutions to manage student information in a centralized and organized way. A SIMS typically includes a range of features, such as student records management, enrollment management, scheduling, and reporting.

The purpose of a SIMS is to provide educators with a comprehensive view of student information, including personal information, academic records, attendance records, and other important data. This information can be used to support decision-making, improve communication, and streamline administrative processes.

Some common features of a SIMS may include:

Student records management: This feature allows educators to store and manage student records, including personal information, academic records, and contact information.

Enrollment management: This feature enables educators to manage the enrollment process, including registration, course selection, and fees.

Scheduling: This feature allows educators to schedule classes and manage timetables.

Attendance tracking: This feature enables educators to track student attendance and monitor patterns of attendance.

Reporting: A SIMS may include reporting tools, which allow educators to generate reports on student progress, attendance, and other important data.

Communication tools: Some SIMS may include communication tools, such as messaging or email, which allow educators to communicate directly with parents or students.

to know more about attendance tracking system visit metaguardin

Explanation:

PLS HELP
Which programming language would be the most appropriate to create a video game for a desktop computer?
A) PL/SQL
B) COBOL
C) Python
D) C++

Answers

Answer:

The most appropriate programming language to create a video game for a desktop computer is C++. C++ is a powerful and versatile language that is well-suited for game development. It is also a relatively easy language to learn, making it a good choice for beginners.

C++ is a statically typed language, which means that the type of each variable is known at compile time. This makes C++ code more efficient and easier to maintain. C++ is also a compiled language, which means that the code is converted into machine code before it is executed. This makes C++ code faster than interpreted languages, such as Python.

C++ is a good choice for game development because it is a powerful and versatile language. C++ can be used to create games of all genres, from simple 2D games to complex 3D games. C++ is also a good choice for game development because it is a relatively easy language to learn. There are many resources available online and in libraries that can help you learn C++.

If you are interested in creating video games, C++ is a good language to learn. C++ is a powerful and versatile language that is well-suited for game development. It is also a relatively easy language to learn, making it a good choice for beginners.

Explanation:

Programmers sat the statements that are contained in a module have been______

Answers

In order to build a coherent and reusable unit of code, programmers "modularize" or "encapsulate" the statements that make up a module.

What in computer terms is a module?

A module in computer software is an addition to a main programme that is devoted to carrying out a particular task. A module in computing is a chunk of code that is inserted all at once or is made to be easily reused.

What does programming use sentences for?

A group of expressions and/or statements that you create to carry out a task or an activity constitute a statement. Statements are binary; they either carry out duties or do not. Any statement that has the ability to produce a value qualifies by default for use as an expression.

To know more about encapsulate visit:

https://brainly.com/question/29762276

#SPJ9

Week 9 activities:
1) The road traveled often leaves traces behind.  Investigate Locard's Exchange Principle and determine where in your own life you have a record of where you've been.  Show this record in some form to not overly invade your privacy.  Hint: you take your phone everywhere... 2) Retracing your steps also can lead to new discoveries.  Venture to the underbelly of Usenet and investigate intrusion detection groups you might find.  Identify them and talk about what you learned and/or saw there.  3) Along the way you'll need some sustenance.  Take your favorite food!  Did you know that Smurfs lived under 'shrooms?  Smurf your home network!  Demonstrate and talk about what happens?  4) You wish the journey would go faster.  Create a IP 4to6 tunnel to speed up the journey or use a proxy.  Then navigate on over to http://[2602:ff16:8:0:1:d1:0:1]/barbarians.html with your favorite web browser.  5) Your tunnel appears to have taken you to a different place.  Find a TOR exit node that is in the same country as the tunnel and provide it it’s IP and also show that it is in the same country. 6) Review the attached PowerPoint then discuss how the concept of Geofencing fits in with what you’ve seen presented here. Briefing ​

Answers

Locard's Exchange Principle is a fundamental concept in forensic science which states that when two objects come into contact, there will always be a transfer of materials between them. This principle is often used to link suspects to crime scenes or to establish connections between individuals.

What is the Principle  about?

In my own life, there are many ways in which I leave traces of where I have been. For example, my phone's GPS records my location throughout the day, my credit card transactions show where I have made purchases, and my social media activity can provide a timeline of my movements and interactions.

Therefore, To demonstrate this, I could use a map of my location data from my phone's GPS over a given period of time, without revealing specific addresses or locations that could compromise my privacy.

Read more about Locard's Exchange Principle here:

https://brainly.com/question/23154090

#SPJ1

What's the point of WAPs and how do they differ from wifi signal amplifiers?

It sounds like they serve a similar purpose, so as a consumer do you need to purchase both to have the best internet speed, or does only one serves the purpose?

Answers

WAP stands for Wireless Access Point, which is a networking device that allows wireless devices to connect to a wired network using Wi-Fi. WAPs provide wireless network connectivity to devices such as laptops, smartphones, and tablets. They are typically used in larger environments such as offices, schools, and hotels where there is a need for multiple devices to connect to the network.

On the other hand, Wi-Fi signal amplifiers, also known as range extenders, are devices that increase the range and strength of an existing Wi-Fi signal. They are used to extend the coverage of a Wi-Fi network and improve signal strength in areas of a building that may have poor reception. They do not create a new network, but rather amplify the existing signal.

As a consumer, you generally do not need to purchase both devices to have the best internet speed. If you have a wired network already set up and need to provide wireless connectivity to devices, then a WAP is the better choice. If you have a Wi-Fi network that has areas with poor reception, then a Wi-Fi signal amplifier would be the better choice to improve coverage and signal strength. However, some newer WAPs may also have built-in range extender capabilities, so it's important to research the features of each device before making a purchase.

Open the code6-1_table.css file and create the
following style rules for the indicated elements:
1. For the table element: Add a 20 pixel
grooved gray border and collapse the
table borders.
2. For the th and td elements: Add a 1
pixel solid gray border, set the padding
space to 5 pixels, and align the cell
content with the top-left corner of the
cell.
3. For the caption element, set the
display the caption at the top-left of
the table and set the font size of the
caption text to 1.5em.
4. For col element with the id
first Col, change the background
color to yellow and set the column
width to 150 pixels.
5. For col element with the id
hourCols, set the column width to
75 pixels.
6. Change the background color of the
thead element to aqua.

Answers

Here are the style rules for the indicated elements:

```css

/* 1. For the table element */

table {

border: 20px groove gray;

border-collapse: collapse;

}

/* 2. For the th and td elements */

th, td {

border: 1px solid gray;

padding: 5px;

vertical-align: top;

text-align: left;

}

/* 3. For the caption element */

caption {

caption-side: top;

font-size: 1.5em;

}

/* 4. For col element with the id firstCol */

col#firstCol {

background-color: yellow;

width: 150px;

}

/* 5. For col element with the id hourCols */

col#hourCols {

width: 75px;

}

/* 6. Change the background color of the thead element */

thead {

background-color: aqua;

}

```

These style rules can be added to the code6-1_table.css file to apply the styling to the corresponding elements in the HTML code.

Which three functions does the Microsoft Power Platform Command Line Interface (CLI) provide when developing Power Apps component framework controls? Each correct answer presents a complete solution.

Answers

The Microsoft Power Platform Command Line Interface (CLI) provides the following three functions when developing Power Apps component framework controls:

The Frameworks

Create a new PCF project: The CLI allows developers to create a new Power Apps component framework (PCF) project using templates and configure the required settings.

Build and package a PCF control: The CLI enables developers to build and package a PCF control using standard web development tools, such as TypeScript and Node.js.

Deploy a PCF control: The CLI facilitates the deployment of a PCF control to a Power Apps environment or a Dynamics 365 instance, making it available for use within an app or solution.

Read more about framework here:

https://brainly.com/question/30280665

#SPJ1

Assembly code
Read a string (consists of letters and numbers) that ends with a period. For every upper case letter, make lower case, for every lowercase letter, make uppercase. Anything else, keep as is. Print your name below it the output.

Input

Loan 12 abC.

Output
lOAY 12 ABc

Answers

Here's an example assembly code in x86-64 syntax that reads a string from standard input, modifies it according to the given rules, and prints the modified string along with the name of the program:

What is the Assembly code?

lua

section .data

   input db 100    ; buffer to hold the input string

   output db 100   ; buffer to hold the output string

   newline db 10   ; ASCII code for newline character

   my_name db "ChatGPT"

section .text

   global _start

_start:

   ; read input string from stdin

   mov eax, 3      ; syscall code for read

   mov ebx, 0      ; file descriptor for stdin

   mov ecx, input  ; buffer to hold input string

   mov edx, 100    ; maximum number of bytes to read

   int 0x80        ; invoke syscall

   ; process input string

   mov esi, input  ; source index register

   mov edi, output ; destination index register

   mov bl, 0       ; loop counter

.loop:

   mov al, byte [esi]

   cmp al, '.'     ; check if end of string

   je .end

   cmp al, 'A'

   jb .lowercase

   cmp al, 'Z'

   ja .lowercase

   add al, 32      ; convert upper case to lower case

   jmp .copy

Read more about Assembly code here:

https://brainly.com/question/13171889

#SPJ1

in java code All permutations of names Write a program that lists all ways people can line up for a photo (all permutations of a list of Strings). The program will read a list of one word names (until -1), and use a recursive method to create and output all possible orderings of those names separated by a comma, one ordering per line. When the input is: Julia Lucas Mia -1 then the output is (must match the below ordering): Julia, Lucas, Mia Julia, Mia, Lucas Lucas, Julia, Mia Lucas, Mia, Julia Mia, Julia, Lucas Mia, Lucas, Julia

Answers

Answer:

Here's an example Java code that can print all permutations of names given as input:

Explanation:

import java.util.Scanner;

public class Permutations {

   public static void main(String[] args) {

       Scanner input = new Scanner(System.in);

       String[] names = new String[10];

       int n = 0;

       // read the names from input and store them in an array

       while (input.hasNext()) {

           String name = input.next();

           if (name.equals("-1")) {

               break;

           }

           names[n++] = name;

       }

       // call the method to print all permutations of names

       printPermutations(names, 0, n-1);

   }

   // recursive method to print all permutations of names

   public static void printPermutations(String[] names, int left, int right) {

       if (left == right) {

           // base case: if left and right are equal, it means we have reached the end of the name list

           for (int i = 0; i <= right; i++) {

               if (i == right) {

                   System.out.print(names[i]); // print the last name without a comma

               } else {

                   System.out.print(names[i] + ", "); // print the name with a comma after it

               }

           }

           System.out.println(); // print a new line after printing the names

       } else {

           // recursive case: perform permutations of names at different positions

           for (int i = left; i <= right; i++) {

               // swap the name at position i with the name at position left

               String temp = names[left];

               names[left] = names[i];

               names[i] = temp;

               // perform permutations at position left+1

               printPermutations(names, left+1, right);

               // swap the name at position i back to its original position

               names[i] = names[left];

               names[left] = temp;

           }

       }

   }

}

list any 8 styles that can be found in the home tab of Microsoft word?​

Answers

Home tab in MS Word's components: The Clipboard, Font, Paragraph, and Styles tabs are the four separate sections that make up the Home tab.

Where does a clipboard get kept?Several operating systems include the clipboard as a buffer for quick storage, copying, and moving data within and among application processes. The contents of the clipboard typically reside in the RAM of the computer and are nameless and transient. The contents of the clipboard typically reside in the RAM of the computer and are nameless and transient. Applications can specify cut, copy, and paste operations through the application programming interface that the clipboard offers.Please open the toolbar popup or right-click on an editable area, then select Clipboard Manager from the menu that appears, to retrieve the items that are now being stored on the clipboard. On your iPad or iPhone, open the Shortcuts app, then select Gallery. You will get various possibilities if you search for "clipboard" here. For a product that meets your needs, read their description.

To learn more about Clipboard, refer to:

https://brainly.com/question/30006106

Keep your customers happy by staying on top of all your ever-changing customer support demands as they come in.
Customer support is the backbone to your company’s success. Your support team works tirelessly to help keep your customer base happy. Monitoring the performance of your support activities helps you take control and service your customers better, boosting your customer loyalty.
Your support team works tirelessly to help your customer base. Support KPIs and Metrics gives your support team insight into their efforts and aids them in bringing their work to the next level, always knowing where they stand.

Answers

The success of a company depends heavily on the satisfaction of its customers, and one of the key factors in achieving that satisfaction is through effective customer support.

What is customer support?

As customer demands continue to evolve, it is important for companies to stay on top of their support activities in order to keep their customers happy.

Customer support teams play a critical role in ensuring customer satisfaction, and monitoring the performance of these teams is essential in providing the best service possible. By tracking support KPIs (Key Performance Indicators) and metrics, companies can gain valuable insights into the effectiveness of their support activities and make data-driven decisions to improve their customer service.

Therefore, Effective customer support not only helps to keep existing customers happy, but it also helps to boost customer loyalty and attract new customers.

Read more about customer support  here:

https://brainly.com/question/1286522

#SPJ1

Identify and explain the determining factors to look out for when picking out if a CPU
and motherboard are compatible and match each other.

Answers

The socket type, chipset, and BIOS version are deciding elements to take into account when choosing a CPU and motherboard to make sure they are physically compatible and offer the capabilities you need.

What aspects must to be taken into account while selecting a CPU?

The number of cores required, the intended usage of the computer, the type of software to be used, processor compatibility, and CPU performance are the primary factors to take into account when purchasing a CPU.

What happens if the CPU and motherboard are incompatible?

The motherboard won't function if you purchase one that is incompatible with your processor. Both the motherboard and the CPU are built to work together. Purchasing these two hardware items simultaneously

To know more about motherboard  visit:-

https://brainly.com/question/29834097

#SPJ1

how do i solve this. step by step

Answers

The table of values of the kids name and the ages, hat and animal when completed is shown below

Completing the table of values

Based on the given information, we can make the following deductions:

Only the 10.year old kid has the same initial in his/her name and in his/her beloved animal

So, we have

Gorilla  -  Gabriel or

Lion -  Lucas

Gabriel either has a green hat or loves the gorilla

So, we have

Gabriel -- Green or Gorilla

Lion -  Lucas

The crocodile is either Zaira's favorite, or the kid with the white hat's favorite.

This means that

Zaira --- Crocodile or White hat --- Crocodile

Neither Gabriel nor Lucas are 12

Gabriel -- 11 or 13

Gabriel is 1 year older than the kid with the red hat and Neither of them love the zebra

This means that

Red hat --- 12

Gabriel -- Green or Gorilla -- 13

So, we have the following:

Kid's Age Kid's Name Hat Color Favorite Animal

13                    Gabriel         Green           Lion

10                      Zaira        White       Crocodile

12                          Lucas       Red                      Lion

11                   Charlotte  Blue           Zebra

Read more about pattern at

https://brainly.com/question/17386984

#SPJ1

cpu installation process?

Answers

Choosing a compatible CPU for the motherboard, removing the protective cover, aligning and inserting the CPU into the socket, and securing it with the retention arm are all steps in the CPU installation procedure.

How should a CPU be mounted on a motherboard?

Start by placing your motherboard on a level place outside of your computer's chassis. Remove the little metal lever retaining the motherboard's LGA socket for Intel's CPU retention bracket. Insert your chip at this point.

Is there anything I should do before installing a new CPU?

You should first upgrade your motherboard if you're planning to use a new CPU before moving on. Your old motherboard should have all of its parts and cables removed before you can take it out of the chassis.

To know more about motherboard visit:-

https://brainly.com/question/29834097

#SPJ1

"Within the body section of the file, enter the text Government Sites on the Web. Mark that text as an h1 heading."

This is part of the instructions for a Web Design class assignment. I thought it was as simple as opening and closing the h1 and putting the text in there but apparently not. I just need to know what I'm doing wrong and what the right answer is.

Answers

The issue that you have would be based on the instructions from the question

What are the potential issues

It seems like you might be experiencing some difficulties with the Web Design class assignment instructions. It is difficult to provide specific guidance without additional information or context, but some possible issues could be not properly linking the text to the heading tags, not including the text within the correct section of the file, or using incorrect syntax.

Read more on web design here:https://brainly.com/question/25941596

#SPJ1

explain asymptonic notation?

explain limit rule?

Answers

A mathematical notation known as asymptotic notation is used to explain how a function behaves when the input size approaches infinity. Analyzing the effectiveness of algorithms and data structures is a common use for it.

Explain what asymptotic notations are.

As the input of an algorithm tends towards a specific value or a limiting value, asymptotic notations are used to mathematically define the program's running duration. For instance: The bubble sort algorithm runs in linear time, which is the best case scenario, when the input array has already been sorted.

Which rule governs limit notation?

Limit notation is a more nuanced means of expressing a concept than just saying or. Any number or infinity can serve as the letter.

To know more about function visit:-

brainly.com/question/28939774

#SPJ1

Part II: additional problems 1, 2, and 3 listed below.
For each problem:
a. Identify the given table as 1NF, 2NF, 3NF, or UNF (contains repeating group).
b. Identify all partial and transitive dependencies by drawing a dependency diagram
(for a UNF table, transform it to 1NF, then draw the dependency diagram).
c.
Transform all tables into 3NF by following the steps below. For c, you do NOT have
to draw dependency diagrams.
Example (it uses the Figure 6.3 as the starting point):
Step a:
PROJECT (PROJ NUM, EMP_NUM, PROJ_NAME, EMP_NAME, JOB_CLASS,
CHG HOUR, HOURS)
(has partial dependencies and transitive dependency) (so it is in 1NF)
Step b: draw dependency diagram (refer to Figure 6.3 in textbook)
Step c:
INF→ 2NF (put partial dependencies in separate tables)
EMPLOYEE (EMP_NUM, EMP_NAME, JOB_CLASS, CHG_HOUR)
(no PD, but has TD) (so it is in 2NF)
PROJECT (PROJ NUM, PROJ_NAME)
(no PD, no TD) (in fact it is already in 3NF)

Answers

In terms of question 1:

STUDENT (STUDENT SSN, ST_NAME, MAJOR, ADVISOR_NUM, ADV_NAME, ADV_OFFICE, ADV_PHONE, ST_CREDITHRS, CLASS_STANDING)

a. UNF (contains repeating group)

b. Dependency diagram:

STUDENT SSN → ST_NAME, MAJOR, ADVISOR_NUM, ST_CREDITHRS, CLASS_STANDING

ADVISOR_NUM → ADV_NAME, ADV_OFFICE, ADV_PHONE

c. Transformation to 3NF:

STUDENT (STUDENT SSN, ST_NAME, MAJOR, ADVISOR_NUM, ST_CREDITHRS, CLASS_STANDING)

ADVISOR (ADVISOR_NUM, ADV_NAME, ADV_OFFICE, ADV_PHONE)

Others are given in the document attached.

What is the text about?

Normalization is the process of organizing a database into a set of tables with well-defined relationships between them to minimize redundancy and data inconsistencies. It involves breaking down a larger table into smaller, more focused tables that have a single topic or theme.

Therefore, the goal of normalization is to eliminate data redundancy and improve data integrity by avoiding common issues such as update anomalies, insertion anomalies, and deletion anomalies. By reducing the number of duplicate entries, normalization ensures that data is consistent and easier to maintain.

Read more about dependencies  here:

https://brainly.com/question/14377298

#SPJ1

See text below

Part II: additional problems 1, 2, and 3 listed below.

For each problem:

a. Identify the given table as 1NF, 2NF, 3NF, or UNF (contains repeating group).

b. Identify all partial and transitive dependencies by drawing a dependency diagram

(for a UNF table, transform it to 1NF, then draw the dependency diagram).

c.

Transform all tables into 3NF by following the steps below. For c, you do NOT have

to draw dependency diagrams.

Example (it uses the Figure 6.3 as the starting point):

Step a:

PROJECT (PROJ NUM, EMP_NUM, PROJ_NAME, EMP_NAME, JOB_CLASS,

CHG HOUR, HOURS)

(has partial dependencies and transitive dependency) (so it is in 1NF)

Step b: draw dependency diagram (refer to Figure 6.3 in textbook)

Step c:

INF→ 2NF (put partial dependencies in separate tables)

EMPLOYEE (EMP_NUM, EMP_NAME, JOB_CLASS, CHG_HOUR)

(no PD, but has TD) (so it is in 2NF)

PROJECT (PROJ NUM, PROJ_NAME)

(no PD, no TD) (in fact it is already in 3NF)

EMPLOYEE (EMP_NUM EMP_NAME, JOB CLASS)

3NF (no PD, no ID)

PROJECT (PROL NUM PROJ_NAME)

3NF (no PD, no TD)

ASSIGN (PROJ_NUM EMP NUM HOURS)

3NF (no PD, no TD)

1. STUDENT (STUDENT SSN, ST_NAME, MAJOR, ADVISOR_NUM, ADV_NAME, ADV_OFFICE, ADV_PHONE, ST_CREDITHRS, CLASS_STANDING)

where:

STUDENT SSN→ All other attributes

ADVISOR NUM→ ADV_NAME, ADV_OFFICE, ADV_PHONE

ST_CREDIT_HRS CLASS STANDING

Note: XYZ QRS means that XYZ determines QRS

You can also find this notation in figure 6.3 and definition of determination on page

62

2. MOVIE (MOVIE_NUM, MOVIE TITLE STAR_NUM STAR_NAME)

Sample data: You can determine pronary key based on the sample data

MOVIE NUM

M001

M002

MOVIE TITLE The Mummy

Crash

STAR NUM

S001

5000

S001

S003

STAR NAME Brendan Fraser Rachel Wenz

Brendan Fraser

Sandra Bullock

You may notice one mothe can feature many stars and one star can act in many movies

3 MOVIE (MOVIE_NUM MOVIE_TITLE, DIRECTOR NUM DIR_NAME

where:

MOVIE NUM

→ MOVIE TITLE DIRECTOR_NUM DIR_NAME

DIRECTOR NUM→ DIR_NAME

Requirement

Finish all problems parts Clearly mark each problem and put problems in the correct order. You can finish this homework in PowerPoint if you wish. Word is also acceptable as always.

Submission

Submit your solution file (Word or PowerPoint) through Canvas system electronically Printout (hard copies) or emails will NOT be accepted.

Turn in your homework on time. After the due time for every 24 hours it will be treated as a day late. I will use submission time in Canvas System as reference. 20% off for each day late.

train schedule:

94 77
213 89
376 36
438 126
627 68
764 64
862 142
1019 70
1146 96
1325 55
1382 30
1448 44



sample output:

With 25.0% drones and 1500 packages,

There will be: -375 drones -113 trucks

TRAIN SCHEDULE --------------

94-171

213-302

376-412

438-564

627-695

764-828

862-1004

1019-1089

1146-1242

1325-1380

1382-1412

1448-1492



0.0: TRUCK #0 begins journey

15.0: TRUCK #1 begins journey

30.0: TRUCK #2 begins journey

45.0: TRUCK #3 begins journey

60.0: TRUCK #4 begins journey

75.0: TRUCK #5 begins journey

90.0: TRUCK #6 begins journey

94.0: TRAIN arrives at crossing

100.0: TRUCK #0 waits at crossing

105.0: TRUCK #7 begins journey

115.0: TRUCK #1 waits at crossing

120.0: TRUCK #8 begins journey

130.0: TRUCK #2 waits at crossing

135.0: TRUCK #9 begins journey

145.0: TRUCK #3 waits at crossing

150.0: TRUCK #10 begins journey

160.0: TRUCK #4 waits at crossing

165.0: TRUCK #11 begins journey

171.0: TRAIN leaves crossing

172.0: TRUCK #0 crosses crossing

173.0: TRUCK #1 crosses crossing

174.0: TRUCK #2 crosses crossing

175.0: TRUCK #5 waits at crossing

175.0: TRUCK #3 crosses crossing

176.0: TRUCK #4 crosses crossing

177.0: TRUCK #5 crosses crossing

180.0: TRUCK #12 begins journey

190.0: TRUCK #6 crosses crossing

195.0: TRUCK #13 begins journey

205.0: TRUCK #7 crosses crossing

210.0: TRUCK #14 begins journey

213.0: TRAIN arrives at crossing

220.0: TRUCK #8 waits at crossing

225.0: TRUCK #15 begins journey

235.0: TRUCK #9 waits at crossing

240.0: TRUCK #16 begins journey

250.0: TRUCK #10 waits at crossing

255.0: TRUCK #17 begins journey

265.0: TRUCK #11 waits at crossing

270.0: TRUCK #18 begins journey

280.0: TRUCK #12 waits at crossing

285.0: TRUCK #19 begins journey

295.0: TRUCK #13 waits at crossing

300.0: TRUCK #20 begins journey

302.0: TRAIN leaves crossing

303.0: TRUCK #8 crosses crossing

304.0: TRUCK #9 crosses crossing

305.0: TRUCK #10 crosses crossing

306.0: TRUCK #11 crosses crossing

307.0: TRUCK #12 crosses crossing

308.0: TRUCK #13 crosses crossing

310.0: TRUCK #14 crosses crossing

315.0: TRUCK #21 begins journey

325.0: TRUCK #15 crosses crossing


STATS -----

TRUCK #0 total trip time: 1072.0 minutes

TRUCK #1 total trip time: 1058.0 minutes

TRUCK #2 total trip time: 1044.0 minutes

TRUCK #3 total trip time: 1030.0 minutes

TRUCK #4 total trip time: 1016.0 minutes

TRUCK #5 total trip time: 1002.0 minutes

TRUCK #6 total trip time: 1000.0 minutes

TRUCK #7 total trip time: 1000.0 minutes

TRUCK #8 total trip time: 1083.0 minutes

TRUCK #9 total trip time: 1069.0 minutes

TRUCK #10 total trip time: 1055.0 minutes

TRUCK #11 total trip time: 1041.0 minutes

TRUCK #12 total trip time: 1027.0 minutes

TRUCK #13 total trip time: 1013.0 minutes

TRUCK #14 total trip time: 1000.0 minutes

TRUCK #15 total trip time: 1000.0 minutes

TRUCK #16 total trip time: 1000.0 minutes



TRUCK AVG TRIP TIME: 1026.8 minutes

TRUCK TOTAL TIME: 2680.0 minutes

DRONE TRIP TIME: 60.0 minutes

DRONE TOTAL TIME: 1182.0 minutes

TOTAL TIME: 2680.0 minutes

BUILD SUCCESSFUL (total time: 0 seconds)

Answers

The given train schedule lists the arrival and departure times of trains at a particular crossing.

What else is done in the task?

Additionally, the task involves calculating the number of drones and trucks required to transport a given number of packages and simulating the crossing of trucks and trains.

The simulation produces statistics on the total trip time of each truck and the average trip time of all trucks, as well as the total time for drones and trucks combined. The output also indicates the number of trucks and drones required and the time they take for the given number of packages.

Read more about simulations here:

https://brainly.com/question/28940547

#SPJ1

PLEASE HELP
What's considered a benefit of virtual computing?

All virtual machines use the same operating system.
Internet speed is increased on virtual machines.
It offers secure file backups.
It allows users to access multiple resources on one machine

Answers

Answer:

It allows users to access multiple resources on one machine is considered a benefit of virtual computing.

Explanation:

Virtual computing allows multiple virtual machines to run on a single physical machine, which means that users can access multiple resources on that single machine. This can increase efficiency and productivity, as users can run different operating systems and software on different virtual machines without having to switch between physical machines. It can also save space, as multiple virtual machines can be stored on a single physical machine. Additionally, virtual machines can be easily copied and moved to other physical machines, making it easier to manage and backup files. Overall, virtual computing provides a flexible and efficient way to use and access multiple resources on a single machine.

Answer:

- Virtual Computing Offers secure file backups.

- It allows users to access multiple resources on one machine

Explanation:

1. Virtual Computing with Data backup software installed in the virtual machine can help you protect and restore your data when something goes wrong.

2. By default Default the reason for virtual computing is accessibility, virtual-based applications and data are accessible from virtually any internet-connected device, Virtual Computing allows computer users remote access to software applications and processes when they need it and this could be done simultaneously.

In your own words, discuss the three main learning theories as learned in class.

Answers

The three main learning theories that are widely discussed in the field of education:

BehaviorismCognitivismConstructivism

What is learning theories?

Behaviorism: This learning theory suggests that all behaviors are learned through conditioning. It focuses on the idea that individuals respond to stimuli in their environment, and that their behaviors are shaped through rewards and punishments. Behaviorists believe that learning occurs through repetition and reinforcement, and that behavior can be changed or modified by manipulating the environment.

Cognitivism: This learning theory emphasizes the importance of mental processes, such as perception, memory, and problem-solving, in the learning process.

Lastly, Constructivism: This learning theory posits that learners actively construct their own knowledge and meaning from their experiences. It emphasizes the idea that individuals create their own understanding of the world based on their experiences and interactions with their environment.

Read more about learning theories here:

https://brainly.com/question/17546524

#SPJ1

Write a switch statement that checks origLetter. If 'a' or 'A', print "Alpha". If 'b' or 'B', print "Beta". For any other character, print "Unknown". Use fall-through as appropriate. End with newline.

Answers

Here's a possible implementation of the switch statement in JavaScript:

The Switch Statement

switch(origLetter) {

 case 'a':

 case 'A':

   console.log("Alpha\n");

   break;

 case 'b':

 case 'B':

   console.log("Beta\n");

   break;

 default:

   console.log("Unknown\n");

   break;

}

The switch statement checks the value of origLetter and executes the corresponding case label. In this case, if origLetter is either 'a' or 'A', the first case label is executed and "Alpha" is printed to the console. If origLetter is either 'b' or 'B', the second case label is executed and "Beta" is printed. If origLetter is any other character, the default case label is executed and "Unknown" is printed. The \n character at the end of each string adds a newline to the console output.

Note that the case 'a': and case 'A': labels use fall-through, meaning that if origLetter is 'A', the code in the 'a' case label will be executed as well. This is intentional and allows for a more concise implementation of the switch statement in this case. However, in other cases, fall-through may be unintentional and can lead to unexpected behavior, so it should be used with caution. The break statement is used to terminate the execution of each case label and prevent fall-through.

Read more about switch statement here:

https://brainly.com/question/20228453

#SPJ1

What is the purpose of the Circle Invalid Data command? to circle data that is invalid after it has been entered to stop the user from entering invalid data to immediately autocorrect data entry mistakes to send message to data entry with what mistakes have been found


AAAAAA

Answers

The purpose of the Circle Invalid Data command is to circle data that is invalid after it has been entered.

The correct option is A.

What is a Circle Invalid Data command?

The purpose of the Circle Invalid Data command is to circle or highlight data that has been identified as invalid after it has been entered, typically in a spreadsheet or form.

This is done to draw the user's attention to the invalid data and prompt them to correct it.

The command does not necessarily stop the user from entering invalid data in the first place, but it does help to ensure that any mistakes are caught and corrected in a timely manner. It does not autocorrect data entry mistakes or send messages to data entry personnel about the mistakes.

Learn more about Data command at: https://brainly.com/question/19562945

#SPJ1

Integers numPizzas and dollars are read from input. A pizza costs 5 dollars.

If numPizzas is less than 5, output "numPizzas requires at least 5 to purchase."
If numPizzas is greater than or equal to 5, then declare and initialize int variable totalCost with the product of numPizzas and 5.
If totalCost is less than or equal to dollars, output "Successful purchase!"
Otherwise, output "Not all pizzas purchased."
If numPizzas is greater than 26, output "Now out of stock." Otherwise, output "Item still in stock."
End with a newline.

Ex: If the input is 8 67, then the output is:

Successful purchase!
Item still in stock.

Answers

The program based on the information given is depicted below.

How to write the program

#include <iostream>

using namespace std;

int main() {

  int numPizzas, dollars;

  cin >> numPizzas >> dollars;

 

  if (numPizzas < 5) {

     cout << "numPizzas requires at least 5 to purchase." << endl;

  }

  else {

     int totalCost = numPizzas * 5;

     if (totalCost <= dollars) {

        cout << "Successful purchase!" << endl;

        if (numPizzas > 26) {

           cout << "Now out of stock." << endl;

        }

        else {

           cout << "Item still in stock." << endl;

        }

     }

     else {

        cout << "Not all pizzas purchased." << endl;

     }

  }

 

  return 0;

}

Note: The endl is used to output a newline character at the end of each output message.

Learn more about program on:

https://brainly.com/question/26642771

#SPJ1

Other Questions
You plan to borrow $3825 at 15% annual interest for 4 years. What will your monthlypayment be? Use the formula . Make sure to label each variable. must show work Kelly wants to build a small koi fish pond in her back yard what natural material should she pine her pond with to make sure that no water leaks out the pond through gravitational water flow a nurse is preparing a teaching plan for a client with a vulvovaginal infection. which teaching would not be appropriate for the nurse to include? Once you have explained how Emma is currently applying the five Ps to the products R&CC sells, identify at least one new way that each of the five Ps could be improved. When making your recommendations, be as specific as possible so that she can execute some of your ideas immediately. Can you pls do this i can't do it, it's a little hard and due before 4:00 pm ( Will mark brainliest if 2 answers and 95 pts if you can do it pls and thank you!!) Liz flips a coin 90 times. the coin lands heads up 27 times and tails up 63 times. Complete each statement consider a u.s. treasury bill with 270 days to maturity. the face value is $100. if the annual yield is 2.2 percent, what is the price? (note: treat 270 days as 9 months, or 9/12 of a year using a 360-day year.) The volume, V, in hundreds of shares, of a companys stock, after being listed on the stock exchange for t weeks, can be modelled by the relation V = 250t - 5t^2Use the discriminant to determine if the volume will ever reacha) 275 000 shares in a week; V = 2750b) 400 000 shares in a weekhelp me. carol's business requires that all employees dress professionally in business attire to give her company a professional appearance. susan insists that she be allowed to wear ratty jeans because her religion requires it. carol: a.must compensate susan monetarily if she chooses to force her to wear business attire. b.will likely be imprisoned for restricting freedom of religion. c.may insist that susan wear business attire since the company has a strict dress code policy. d.must allow susan to wear jeans so as not to discriminate based on religion. select the alternative hypothesis we should use to test whether the population mean daily number of texts for year olds differs from the population daily mean number of texts for year olds. 1. : 2. : 3. : - select your answer - b. suppose a sample of thirty year olds showed a sample mean of texts per day. assume a population standard deviation of texts per day and compute the -value. round your answer to four decimal places. 0.1212 c. with as the level of significance, what is your conclusion? do not reject . we cannot conclude that the population mean daily texts for year olds differs significantly from the population mean of daily texts for year olds. d. repeat the preceding hypothesis test using the critical value approach. the critical value(s) is(are) 1.96 . can it be concluded that the population mean differs from ? WILL GIVE TRUE 100 POINTS AND BRAINLYEST FOR THE CORRECT ANSWER a patient is about to begin therapy with ethambutol. the nurse knows that, before initiating treatment with this drug, it is important to obtain which test(s)? The expression for the area of the rectangle is shown below write the expressions for the dimensions 144x^2-81 Find 1-The mid point 2-The slop 3-The length4 - The equation which phylogenetic tree can best be used to show that the zygomycetes and chytrids are the most closely related when a consumer connects thoughts about a brand to memories about a brand, this is known as multiple choice brand associations. brand recognition. perceived quality. your ant has been ill and in hospiss for sometime and you dicided to pay her a visie wortes a diary entries explain how you feel after and before be visie Which line signals the end of the narrative within the frame story? he fell on his back. his rubber sandals had been blown off. even now i havent finished sorting it out. sometimes i forgive myself, other times i dont. for me, it was not a matter of live or die. i was in no real peril. none of it mattered. the words seemed far too complicated. all i could do was gape at the fact of the young mans body. Find the lateral surface area of the paint can. Round your answer to the nearest hundredth.LOLateral SA =8155LinteriorLatex PaintOrange1 gal-IN7 Compare and contrast the native populations of highlanders from the Tibetan plateau and those of the Andes mountains. Were you surprised?