USE SQL PROGRAMMING

List the departments that are doing a terrible job of responding to human resources complaints in a timely manner.

Prepare a query that does the following:

1) Query that counts the total number of human resources complaints

2) The quantity of untimely responses

3) Percentage of untimely responses by each department

Use the formula : (untimely responses/ total number of human resources complaints)

4) Display the departments that had at least 150 complaints

5) Show the department that had the highest percentage of untimely responses. Return the department name and percentage of untimely responses.

Answers

Answer 1

Answer:

Im going to suppose there are two tables named 'complaints' and 'departments' that have their own relevant columns. With that in mind here is an example SQL Query.

SQL Query

SELECT

 Divisions.divisions_name,

 COUNT(complaints.complaint_id) AS total_complaints,

 SUM(CASE WHEN complaints.response_time > '24 hours' THEN 1 ELSE 0 END) AS untimely_responses,

 (SUM(CASE WHEN complaints.response_time > '24 hours' THEN 1 ELSE 0 END) / COUNT(complaints.complaint_id)) * 100 AS percentage_untimely

FROM

 complaints

JOIN

 divisions ON complaints.division_id = divisions.division_id

GROUP BY

 divisions.division_name

HAVING

 COUNT(complaints.complaint_id) >= 150

ORDER BY

 percentage_untimely DESC

LIMIT 1;

Explanation

The first line of the SELECT statement retrieves the department name from the "departments" table.The COUNT function is used to count the total number of human resources complaints.The SUM and CASE statements are used to count the number of untimely responses (response time > 24 hours) for each department.The percentage of untimely responses for each department is calculated using the formula provided in the question.The query groups the results by department name and filters out any departments that have fewer than 150 complaints.The results are sorted in descending order by the percentage of untimely responses and the department with the highest percentage is returned using the LIMIT clause.

Note: This query example assumes that the "response time" column in the "complaints" table has values like "24 hours" that show the length of time. Also, you may need to change the names of the columns or tables to fit your database.


Related Questions

MS Word
Please explain why we use tables in documents.

Answers

Tables are often used in documents to present information in an organized and easy-to-read format.

How important are they?

They allow you to structure and categorize data into rows and columns, making it easier to compare and analyze information. Tables can be used for a variety of purposes, such as listing prices, displaying survey results, and summarizing data.

They also allow you to add visual elements to your document, such as borders, shading, and color, to make it more engaging and visually appealing. Overall, tables are a useful tool for presenting complex information in a clear and concise manner.

Read more about MS Word here:

https://brainly.com/question/25813601

#SPJ1

Craig has told his team to design a website, but he wants to see a fully laid out detailed version before functionality can be added. How can his team produce this?

Craig's team can demonstrate this by creating a(n)_______​

Answers

Answer:

Craig's team can produce a mockup or wireframe of the website to show a fully laid-out detailed version without functionality. A mockup is a static visual representation of the website's design, usually created with a graphic design tool or even drawn on paper. It serves as a blueprint for the website's layout, content, and visual elements. A wireframe, on the other hand, is a low-fidelity representation of the website's design that outlines the placement and structure of content and features. Both of these tools can help Craig's team communicate their design ideas to stakeholders and get feedback before moving on to the development stage.

Answer:

Craig's team can create a mockup or prototype of the website to demonstrate the fully laid out detailed version before adding functionality. A mockup is a static visual representation of the website design, while a prototype is an interactive and clickable version that allows users to navigate through the design and experience its functionality. Both mockups and prototypes can be created using various tools such as graphic design software or prototyping tools. By creating a mockup or prototype, Craig's team can showcase the website design to him and other stakeholders, get feedback, and make any necessary revisions before adding functionality and building the actual website.

compare and contrast the school of digital age and that of industrial age

Answers

The school of digital age represents a significant departure from the school of the industrial age.

Compare the digital age and industrial age schools?

The school of the digital age and the school of the industrial age differ in several ways.

Curriculum and teaching methods: The school of the industrial age focused on rote learning, memorization, and standardized testing. The curriculum was based on a set of core subjects, such as reading, writing, math, and science. In contrast, the school of the digital age emphasizes problem-solving, critical thinking, creativity, collaboration, and digital literacy. The curriculum is often personalized, interdisciplinary, and project-based. The teaching methods include online learning, blended learning, flipped classroom, and adaptive learning.

Technology and resources: The school of the industrial age used traditional resources, such as textbooks, chalkboards, and pencils. Technology was not a major part of the learning environment. In contrast, the school of the digital age relies heavily on technology, such as laptops, tablets, smartphones, and educational software. Technology is seen as a tool to enhance learning, engage students, and prepare them for the digital world.

Teacher's role: In the school of the industrial age, the teacher was the primary source of knowledge and authority. The teacher lectured and imparted information to the students. The students were expected to listen, memorize, and regurgitate the information. In contrast, the school of the digital age emphasizes the teacher's role as a facilitator, coach, and guide. The teacher creates a supportive and engaging learning environment that allows students to explore, experiment, and discover knowledge.

Learning outcomes: The school of the industrial age focused on preparing students for factory work and a standardized society. The emphasis was on discipline, obedience, and conformity. In contrast, the school of the digital age aims to prepare students for a complex, diverse, and rapidly changing world. The emphasis is on creativity, innovation, and adaptability. The goal is to develop lifelong learners who can learn, unlearn, and relearn.

In summary, The school of the digital age places greater emphasis on digital literacy, critical thinking, collaboration, and creativity, and seeks to prepare students for a rapidly changing world.

To learn more about school of digital age, visit: https://brainly.com/question/30921786

#SPJ1

Question 18 of 50
A value inventory is a self-assessment test that measures the importance of certain values in order to guide an individual
his/her career path.
True
False

Answers

Answer:

true trust

explanation trust

Answer is true not false

You have been given a project to build an IT infrastructure for a particular
telecommunication company. You have been given specifications which shows
that the company will receive high volume of calls and messages from its
customers. You have been told that the users (customers and employees of the
company) of the system should be given fair amount of time for services and
the response time should be minimized. The management of the company have
already bought other software tools but are not sure what kind of operating
system to deploy. You have been requested to recommend the best operating
system based on their requirements (fair amount time for services and
minimized response time). Convince the management that your choice is
right

Answers

Answer:

Linux

Explanation:

The best operating system to deploy for this project would be Linux. Linux is a powerful operating system that is optimized for performance and is widely used in high volume call center environments. It is open source, which means that it is highly customizable and can be tailored to meet the specific needs of the company.

One of the key advantages of Linux is its stability and reliability. It is designed to run continuously for long periods of time without crashing or requiring rebooting, which is essential for a telecommunications company that requires a high level of uptime for its systems.

Linux is also highly secure, which is crucial for a company that will be handling sensitive customer data. The open-source nature of Linux means that security vulnerabilities are identified and patched quickly, reducing the risk of security breaches.

Finally, Linux is known for its low response time and quick processing speed. It is optimized for multitasking, which means that it can handle multiple requests simultaneously without slowing down the system. This will ensure that the users of the system are provided with a fair amount of time for services and that the response time is minimized.

Imad is a manage working in. Rang Mobile he can access the new customers report at any place with he need it what Characteristic of information is. best applied in this scenario 1_Reliable 2_Timely 3_Accurate 4_Secure​

Answers

"Timely" is the quality of information that fits this situation the best. Imad requires access to the new customer report whenever and wherever he wants it because he is a manager.

What essential qualities exist?

an essential quality. A product feature for which testing or inspection is necessary prior to shipment to assure conformance with the technical requirements under which the approval was obtained and which, if not manufactured as approved, could have a direct negative influence on safety.

What essential elements make up information integrity?

Integrity safeguards the information's accuracy or correctness while it is being processed, stored, or in transit. It serves as a guarantee that the information is accurate and unaltered.

To know more about access visit:-

https://brainly.com/question/14286257

#SPJ1

What is meant by Slide Show​

Answers

Answer:

A slide show is a presentation of a series of still images on a projection screen or electronic display device, typically in a prearranged sequence . The changes may be automatic and at regular intervals or they may be manually controlled by a presenter or a viewer.

I hope it helped you...

If I got it right...

MARK ME AS BRAINLIEST

What type of projects can I find in Workana?
A) Free projects
B) Paid projects in which I can charge per hour worked or by finished project
C) Projects paid by commission
D) Projects in which I can partner with other users and share profits
E) All of the above

Answers

Answer:

E

Explanation:

When you are looking for projects at Workana or post a project, you can work o post a project for a fixed price or hourly.

Let's see the differences

Fixed Price:

Fixed prices are the projects that are well defined with the reach and job structure and the payment will be realized once at the end of the job. The customer and professional agreed price before starting working on the project. It's important to measure the specific goals for both sides. As soon as the job goes on, some deliverables will define the progress of the job. It's crucial to keep clear the reach, time and deliverables before starting work on the project. In this way, you can avoid miscommunication.

On the other hand, if it is not clear what is expected on the project that you applying for,  some changes are suddenly expected on the project that you are already working on, or even if you must dedicate a large part of your week/month in this project, then it is recommended that you be hired in a more flexible way.

Projects by Hour

In these cases above the best choice are jobs by hour. Both customer and professional agreed on a price per hour and starts working on the project reporting the hours that were worked on through Workana.

Customers can accept or reject the report and have perfect control over the job that is being realized. Also, it can limit the authorized hours that a professional can work on his project. Doesn't matter if the job is a fixed price or per hour, be sure that all is well accorded and the objectives are clear to achieve success for both sides.

As both agree before starting, less misunderstanding they will have.

Remember that fixed-price projects always have Workana's guarantee.

And the guarantee on projects by the hour is valid only if the hours are registered by Workana Time Report.

The money will be released only when the project is totally finished according to the initial deal.

what is the best software company in Hyderabad?

Answers

Answer:

Deloitte

benefits

1. highest salary package

2. hardword

There are three emerging areas associated with technologies to monitor employees. Which of the following is one of those emerging areas?
Question 21 options:

How companies implement technology loss prevention programs.

How companies ban the use of social media.

How companies cope with employee misconduct.

How companies cope with BYOD.

Answers

Programs for preventing technology loss are a developing field related to technologies used to monitor employees. These programmes are intended to safeguard sensitive information and intellectual property.

What is technology for preventing data loss?

Users are prevented from sending sensitive or important information outside the company network by data loss prevention (DLP). The phrase refers to software tools that assist a network administrator in managing the data that users may send.

How can a firm be protected by a data loss prevention DLP strategy?

Data loss prevention (DLP) software keeps an eye on and guards against loss of network, endpoint, and cloud data. Reporting is a crucial component of data loss prevention since it demonstrates legal compliance and satisfies audit obligations.

To know more about Programs visit:-

https://brainly.com/question/10509036

#SPJ1

Explain why a programmer would make use of both an interpreter and a compiler. [4] |​

Answers

A programmer might make use of both an interpreter and a compiler for different reasons.

An interpreter is a program that directly executes the source code of a program without first converting it to machine code. It reads the code line by line and executes each line immediately. Interpreted languages are often used for scripting, prototyping, and rapid development because changes to the code can be tested and executed quickly.

A compiler, on the other hand, is a program that translates the source code of a program into machine code that can be executed directly by the computer's processor. Compiled languages are often used for performance-critical applications because the compiled code is optimized for the target platform and can execute more quickly than interpreted code.

So, a programmer might use an interpreter during the development and testing phase of a program to quickly try out changes and see the results. Once the code is stable and ready for deployment, the programmer might use a compiler to create an optimized executable that can be distributed to end-users.

Another reason to use both an interpreter and a compiler is to take advantage of the strengths of each approach. For example, some languages like Java are first compiled into an intermediate bytecode that can be interpreted by a Java Virtual Machine (JVM). This allows the code to be compiled once and then run on any platform that has a compatible JVM, while still providing some of the performance benefits of compiled code.

In summary, a programmer might use both an interpreter and a compiler for different reasons, such as rapid prototyping, performance optimization, or platform independence.

For questions 5-8, consider the following code:



def mystery(a = 2, b = 1, c = 3):

return 2 * a + b + 3 * c

What is the output for mystery(4, 3, 7)?

What is the output for mystery(5, 8)?

What is the output for mystery(1)?

What is the output for mystery()?

Answers

Answer:

les go, it has optional parameters so...

Explanation:

output of 1 is 32

second 27

third 12

fourth 14

14. What does it mean to unplug?
O A. To move to a country or town
that has much slower Internet access
B. To make sure that your devices
aren't always plugged in so the battery
lasts longer
O C. To take time away from phones,
computers, tablets, and other devices
O D. To reset your Internet by turning
the modem off and on again

Answers

I would say B for unplug

Describe the Police Act 1967.​

Answers

Answer:

Explanation:

Some of the key provisions of the Police Act 1967 include:

The establishment of police authorities to oversee and administer police forces.

The creation of a rank structure for police officers, including the appointment of Chief Constables and other senior officers.

The establishment of a system of police training and development, including the creation of the Police Staff College.

The extension of police powers to deal with a wide range of criminal activities, including terrorism.

The introduction of measures to improve police accountability and transparency, such as the requirement for police authorities to hold public meetings.

consider this list of numbers: 9 3 6 8 4 7. after three comparisons have been made the list is 3 6 9 8 4 7 . which algorithm is being applied

Answers

Answer: The algorithm being applied is "Insertion Sort".

Explanation:

Insertion sort works by iteratively inserting each element of the input list into its proper place in a growing sorted list. In each iteration, the algorithm selects the first unsorted element and compares it with each element in the sorted portion of the list until it finds its correct position. It then inserts the element into the sorted portion of the list and moves on to the next unsorted element.

In the given example, the first three elements of the list (9, 3, and 6) are compared and swapped to produce the partially sorted list 3 9 6 8 4 7. Then, the next unsorted element (6) is compared with the sorted elements (3 and 9) and inserted in its correct position between 3 and 9, resulting in the list 3 6 9 8 4 7.

A web designer finds out after the launch that the website created is not supported by some versions of Internet Explorer. Which phase could have corrected this issue? O O

A. wireframing

B. need testing design testing

C. Design testing

D. usability testing

E. page description diagrams ​

Answers

Answer:

The phase that could have corrected this issue is Design testing. During this phase, designers typically test the website's functionality and compatibility across multiple browsers and platforms to identify and fix any issues before launching the website.

Explanation:

________ determines which actions are allowed or not allowed by a user or system.

Answers

Answer:

access control

Explanation:

Access control defines allowable operations of subjects on objects: it defines what different subjects are allowed to do or defines what can be done to different objects

peoplecsrutgers

I am stuck on this.... it is Java

Description:
"Simon Says" is a memory game where "Simon" outputs a sequence of 10 characters (R, G, B, Y) and the user must repeat the sequence. Create a for loop that compares the two strings starting from index 0. For each match, add one point to userScore. Upon a mismatch, exit the loop using a break statement. Assume simonPattern and userPattern are always the same length. Ex: The following patterns yield a userScore of 4:
simonPattern: RRGBRYYBGY
userPattern: RRGBBRYBGY

Answers

String simonPattern = "RRGBRYYBGY";

String userPattern = "RRGBBRYBGY";

int userScore = 0;

for (int i = 0; i < simonPattern.length(); i++) {

   if (simonPattern.charAt(i) == userPattern.charAt(i)) {

       userScore++;

   } else {

       break;

   }

}

System.out.println("User score: " + userScore);

You are the IT administrator for a small corporate network. The network card in the desktop computer in Office 2 has gone bad. Rather than replacing the bad card, you have decided to connect the computer to the wireless corporate network. The wireless corporate network has the following characteristics:

Answers

Check to see if the DHCP server assigned the computer an IP address. By launching a command prompt, entering "ipconfig" (without quotes) and pressing Enter, you may verify this.

What's the format of the TestOut pc pro exam?

The TestOut PC Pro exam includes simulations and other questions that evaluate your skills. Test takers may be given a limited number of ungraded assignments that are used to evaluate and improve the exam. These exercises won't affect a test-final taker's score.

TestOut Network Pro: What is it?

The TestOut Network Pro certification assesses a candidate's proficiency in the tasks that systems administrators, network administrators, network engineers, and other IT network professionals frequently accomplish.

To know more about DHCP visit:-

https://brainly.com/question/29432103

#SPJ1

Real GDP Government Spending (G) Tax Revenues (T) (Billions of dollars) (Billions of dollars) (Billions of dollars) 340 58 54 380 58 58 420 58 62 Use the blue line (circle symbols) to plot the government spending schedule presented in the table. Then use the orange line (square symbols) to plot the economy's tax revenues schedule. G T Deficits Surpluses 300 320 340 360 380 400 420 440 460 480 500 70 68 66 64 62 60 58 56 54 52 50 GOVERNMENT SPENDING AND TAXES (Billions of dollars) REAL GDP (Billions of dollars)

Answers

The deficits and surpluses can be calculated by subtracting government spending from tax revenue at each level of real GDP.

Explain the graph showing the government spending and tax revenue schedules?

The blue line with circle symbols represents the government spending schedule. It's a horizontal line at $58 billion, which means that regardless of the level of real GDP, the government spending remains constant at $58 billion.

The orange line with square symbols represents the economy's tax revenue schedule. It's an upward sloping line that starts at $54 billion when the real GDP is $340 billion and increases by $4 billion for every $40 billion increase in real GDP. For example, when real GDP is $380 billion, tax revenue is $58 billion; when real GDP is $420 billion, tax revenue is $62 billion.

The deficits and surpluses can be calculated by subtracting government spending from tax revenue at each level of real GDP. For example, when real GDP is $340 billion, the deficit is $4 billion ($58 billion - $54 billion); when real GDP is $420 billion, the surplus is $4 billion ($62 billion - $58 billion).

To learn more about tax, visit: https://brainly.com/question/14720363

#SPJ1

Arithmetic Instructions: Activity: Execute a formula (Assembly code)

Read 3 numbers, add the first two, then subtract the third number from the sum. Final value should not be less than 0 or greater than 9

Sample
Input

4+1-2

Output

3

Answers

Here's an example Assembly code that reads 3 numbers, adds the first two, subtracts the third number, and ensures that the final value is not less than 0 or greater than 9:

```
ORG 0x100

START:
; Read the first number
MOV AH, 1
INT 21h
SUB AL, '0'
MOV BL, AL

; Read the second number
MOV AH, 1
INT 21h
SUB AL, '0'
ADD BL, AL

; Read the third number
MOV AH, 1
INT 21h
SUB AL, '0'

; Add the first two numbers and subtract the third number
SUB BL, AL
CMP BL, 0
JL SET_ZERO
CMP BL, 9
JG SET_NINE
JMP PRINT_RESULT

SET_ZERO:
MOV BL, 0
JMP PRINT_RESULT

SET_NINE:
MOV BL, 9
JMP PRINT_RESULT

PRINT_RESULT:
; Print the result
ADD BL, '0'
MOV AH, 2
MOV DL, BL
INT 21h

; Exit the program
MOV AH, 4Ch
INT 21h

END START
```

In this program, we first read the first number using the DOS interrupt `INT 21h` with function `AH=1`. We subtract the character code for '0' to convert it to a numeric value and store it in the `BL` register. We then read the second number and add it to the first number in `BL`. We read the third number and subtract it from the sum of the first two numbers in `BL`. We then compare the result to 0 and 9 to ensure that it is not less than 0 or greater than 9, respectively. If it is less than 0, we set it to 0. If it is greater than 9, we set it to 9. We then print the final result using the DOS interrupt `INT 21h` with function `AH=2`. Finally, we exit the program using the DOS interrupt `INT 21h` with function `AH=4Ch`.

Describe the basic internal operation of optical disc reader/written

Answers

Explanation:

An optical disc reader/writer is a device that is used to read or write data to an optical disc, such as a CD, DVD, or Blu-ray disc. The basic internal operation of an optical disc reader/writer can be described as follows:

Disc loading: The optical disc reader/writer has a tray or slot where the disc is loaded. When the disc is inserted, the tray or slot mechanism moves the disc into position and holds it in place.

Spinning: The disc is spun by a motor inside the optical disc reader/writer. The speed at which the disc spins varies depending on the type of disc and the location of the data being read or written.

Laser reading/writing: The optical disc reader/writer uses a laser to read or write data to the disc. The laser is focused on the disc's surface, and the reflection of the laser light is detected by a sensor. The sensor then translates the reflection into digital data that can be read or written to the disc.

Tracking: The laser is moved across the disc's surface by a tracking mechanism. This ensures that the laser stays in the correct position to read or write data to the disc.

Data processing: The digital data that is read or written to the disc is processed by a controller inside the optical disc reader/writer. The controller is responsible for interpreting the data and sending it to the computer or other device that the optical disc reader/writer is connected to.

Ejecting: When the disc is finished being read or written to, the tray or slot mechanism releases the disc, and it can be removed from the optical disc reader/writer.

leave a comment

A team of engineers have done the root cause analysis of all identified defects of Release 1. To prevent such defects occurring in the next release, they have proposed a few changes to the process.

Answers

The team of engineers have conducted a root cause analysis of all identified defects in Release 1. They have proposed process changes to prevent these defects from occurring in the next release.

What is an engineer?

An engineer is a professional who applies scientific, mathematical, and technical knowledge to design, develop, and improve products, systems, and processes. Engineers use their knowledge and skills to solve practical problems and meet the needs of society.

What is root cause?

A root cause is the fundamental reason or underlying factor that leads to a problem or issue. Identifying the root cause is important for developing effective solutions and preventing the problem from occurring again.

To know more about engineer's analysis visit:

https://brainly.com/question/19819958

#SPJ9

Online data storage refers to the practice of storing electronic data with a third party services accessed via the internet
A true
B false​

Answers

Answer: I think the answer is true

Answer: the answer is true

Write a C++ program that displays the total running time of a given algorithm based on
different situations such as processor speed, input size, processor load, and software
environment (DOS and Windows).

Answers

Answer: Your welcome!

Explanation:

#include <iostream>

#include <cmath>

using namespace std;

int main()

{

 int processorSpeed; //in MHz

 int inputSize; //in Kb

 int processorLoad; //in %

 int softwareEnvironment; //1: DOS, 2: Windows

 int runningTime; //in ms

 

 cout << "Enter processor speed (MHz): ";

 cin >> processorSpeed;

 

 cout << "Enter input size (Kb): ";

 cin >> inputSize;

 

 cout << "Enter processor load (%): ";

 cin >> processorLoad;

 

 cout << "Enter software environment (1-DOS, 2-Windows): ";

 cin >> softwareEnvironment;

 

 if(softwareEnvironment == 1)

 {

   //DOS running time calculation

   runningTime = (inputSize / processorSpeed) + (processorLoad / 10);

 }

 else

 {

   //Windows running time calculation

   runningTime = (inputSize / (processorSpeed/2)) + (processorLoad / 10);

 }

 

 cout << "Total running time: " << runningTime << "ms" << endl;

 

 return 0;

}

Which of these is it important to check when checking compatibility on phones?

A. no text input

B. mouse-free input

C. touchless interface

D. no audio output

E. does not support forms​

Answers

Answer:

The option that is important to check when checking compatibility on phones is not listed. The most important factor to check for compatibility on phones is the operating system (OS) version. Different OS versions may have different requirements for running apps, so it's important to make sure the app is compatible with the user's OS version. Other factors that may be important to check for compatibility include screen size and resolution, RAM and storage capacity, and network connectivity.

Explanation:

While using a datasheet to track shoe orders, Gustav wants to see a picture of the shoes and read details about the shoes' materials. Which steps should he follow?

A.) Double-click on the record in the Customer ID field, then double-click on the customer dialog box.
B.) Create a new field, select images of the shoes from the Internet, and embed images into OLE type.
C.) Create a new shoe identification field by clicking on "Click to Add," and type notes using "memo" type.
D.) Double-click on the record in the Attachment field, then double-click on the attachment in the dialog box.

Answers

Answer:

B.) Create a new field, select images of the shoes from the Internet, and embed images into OLE type.

To see a picture of the shoes and read details about the shoes' materials while using a datasheet to track shoe orders, Gustav should create a new field in the datasheet and embed images of the shoes into that field using the OLE (Object Linking and Embedding) type. This will allow him to view the images within the datasheet and access any details or information associated with them. Double-clicking on records in the Customer ID field, Attachment field, or using memo type notes will not provide the desired outcome.

Explanation:

The Function Arguments dialog is
O different
O the same
O similar
O opposite
for each function.

Answers

Answer:

The Function Arguments dialog is the same for each function.

The Function Arguments dialog is typically the same for each function.

Thus, option (b) is correct.

When referring to functions within programming, the term "Function Arguments" typically pertains to the parameters or inputs that are passed to a function when it is called. The Function Arguments dialog remains the same for a particular function and specifies the type, order, and number of arguments that the function expects.

In programming languages, functions are defined with a specific set of parameters, and when calling the function, need to provide arguments that match those parameters.

Therefore, the Function Arguments dialog remains consistent for each function.

Thus, option (b) is correct.

Learn more about Function Argument here:

https://brainly.com/question/30029505

#SPJ4


What is the world wide web (WWW)?
Explain any four (4) uses of the internet.
Discuss three (3) advantages and two (2) disadvantages of email.

Answers

Answer:

Availability and Portability. ...

Advantage: Reduces Shipping and Mailing Costs. ...

Disadvantage: Vulnerability to Loss. ...

Disadvantage: Accessible to Others.

Using assembly
Read 1 byte. Write a program that prints:

It's a B

if the input is a B

It's NOT a A

if the input is not the letter B

helpful code
;nasm 2.13.02

section .data
message: db 'Same',10
messageLen: equ $-message

messageNOT: db 'NOT same',10
messageNOTLen: equ $-messageNOT

section .text
global _start

_start:

; compare if I have a 5
mov al,'X'
cmp al,'C'
je same

mov eax,4
mov ebx,1
mov ecx,messageNOT
mov edx,messageNOTLen
int 80h
jmp end
same:
mov eax,4
mov ebx,1
mov ecx,message
mov edx,messageLen
int 80h
end:
mov eax,1
mov ebx,0
int 80h;

Answers

Answer:

Here's an example program written in NASM x86 assembly that reads one byte of input and prints a message depending on whether the input is a B or not:

section .data

message_b: db "It's a B",10

message_not_b: db "It's NOT a B",10

section .bss

input_buffer: resb 1

section .text

global _start

_start:

   ; read one byte of input from stdin

   mov eax, 3

   mov ebx, 0

   mov ecx, input_buffer

   mov edx, 1

   int 0x80

   ; check if input is B

   cmp byte [input_buffer], 'B'

   jne not_b

   ; print "It's a B" message

   mov eax, 4

   mov ebx, 1

   mov ecx, message_b

   mov edx, 8

   int 0x80

   jmp end

not_b:

   ; print "It's NOT a B" message

   mov eax, 4

   mov ebx, 1

   mov ecx, message_not_b

   mov edx, 12

   int 0x80

end:

   ; exit program

   mov eax, 1

   xor ebx, ebx

   int 0x80

Explanation:

The program first declares two messages, one for when the input is a B and another for when it's not. It then reserves one byte of memory for the input buffer using the .bss section.

In the .text section, the program first reads one byte of input from stdin using the read system call. It then compares the input to the ASCII value of the letter B using the cmp instruction. If the input is not B, it jumps to the not_b label to print the "It's NOT a B" message. If the input is B, it continues to print the "It's a B" message.

The program uses the mov instruction to load the appropriate values into the registers required by the write system call. The message to be printed is stored in the ecx register, while the length of the message is stored in the edx register. The int 0x80 instruction is then used to invoke the write system call and print the message to stdout.

Finally, the program exits using the exit system call by loading the value 1 into the eax register and calling int 0x80.

Other Questions
Which type of metamorphic rock forms when limestone is exposed to heat and pressure? a. slate b. quartzite c. marbled. granite Gestures that can be translated into words, for example, nodding "yes," are ______A. markersB. emblemsC. affect displaysD. regulatorsE. adaptors whats the objective summary in the golden kite, the sliver wind by ray bradbury. I need a 2 to 3 paragraph Which statement best describes the effect of the automobile during the 1920s? A. Mass production of automobiles gave people less leisure time because they had to repair cars. B. Mass production of automobiles allowed more Americans to afford them, so people could move around more easily. C. Mass production of automobiles meant that only the wealthy could afford to purchase them D. Mass production of automobiles meant that many moreAmericans bought them, which made driving on roads difficult. Help me finish the table please! 80% of the heat supplied to a 30g block of ice at 0c completely melt it to water 0C. Calculate the total heat energy supplied=336jg^-1k Pls help (100 points)Given these reactions:NO (g) + O3 (g)NO2 (g) + O2(g), H =199 kJO3 (g)32O2 (g), H =142 kJO2 (g)2O (g), H =+495 kJWhat is the H for this reaction? NO (g) + O (g)NO2 (g)304 kJ199 kJ+154 kJ+438 kJ can anyone help?what are the arguments of the function?Answer choices are 1. Mystery 2. 13. 4,8,3 or4. a,b,c The comparative balance sheets for Concord Company show these changes in noncash current asset accounts: accounts receivable decreased $77,900, prepaid expenses increased $29,000, and inventories increased $41,800. Compute net cash provided by operating activities using the indirect method, assuming that net income is $187,400 Which piece of evidence best captures the speaker's overall perspective toward Americans in American Journal? Match the following terms and definitions.1. aquatic, cylindrical animals with a fixed base polyp 2. an animal with a false body cavity separating the mesoderm and endoderm pseudocoelomate 3. condition in which many similar parts radiate from a central axis in an organism's body radial symmetry 4. region of a mollusk's body that contains its internal organs visceral mass personal interviewing is a dominant mode of data collecting outside of the united states personal interviewing is a dominant mode of data collecting outside of the united states true false Record 3 similarities and 5 differences between Gale and Peeta on your paper. Do NOT include appearance. The Hunger GamesGale 5 things different from PeetaPeeta 5 things different from Gale3 similarities about them bothI need this before lunch time in Central Missouri TimePls help a student takes an ir spectrum of an unknown compound. the ir spectrum shows significant stretches at 3353 cm-1 (m, br) and 2900 cm-1 (s, sh). which possible compound is it? To examine the effectiveness of its four annual advertising promotions, a mail order company has sent a questionnaire to each of its customers, asking how many of the previous year's promotions prompted orders that would not have otherwise been made. The accompanying table lists the probabilities that were derived from the questionnaire, where X is the random variable representing the number of promotions that prompted orders. If we assume that overall customer behavior next year will be the same as last year, what is the expected number of promotions that each customer will take advantage of next year by ordering goods that otherwise would not be purchased? Another Statistics Card QuestionYou are dealt a hand of five cards from a standard deck of 52 cards. What is the probability of being dealt three cards of one denomination and two of another? explain how undifferentiated bipotential gonads are induced to form either testes-containing or ovaries-containing reproductive tracts based on whether sry is or is not present. (please include role of aromatase as well) Bumblebees are skilled aerialists, able to fly with confidence around and through the leaves and stems of plants. In one test of bumblebee aerial navigation, bees in level flight flew at a constant 0.40 m/s, turning right and left as they navigated an obstacle-filled track. While turning, the bees maintained a reasonably constant centripetal acceleration of 4.0 m/s2a) What is the radius of curvature for such a turn?b) How much time is required for a bee to execute a 90 turn? Case Darden BRUNER, Robert Panic of 19073. At the time GDP per capita was perhaps $2,000 per person versus$50,000+ today. At the same time, we now have $21 trillion of debtfor 330 million people. In what ways has central banking helped us? In what ways might it burden our future? julia, who is 1.60 m. tall, wishes to find the height of a tree with a shadow 32.84 m. long. she walks 22.78 m. from the base of the tree along the shadow of the tree until her head is in a position where the tip of her shadow exactly overlaps the end of the tree top's shadow. how tall is the tree? round to the nearest hundredth.