You have been studying processors. Your instructor has asked you to help prepare a lecture for introductory students learning about processors. You explain that when payroll software determines which employees should receive overtime based on hours worked, it is a result of a(n) ______ operation.

Answers

Answer 1

Answer:

The correct answer is a comparison operation.

Explanation:

In computing, we can see that the processors have two main functions which are to do arithmetic operations and comparison operations. The comparison operations are those that have binary results such as true or false. In the exercise, the processor has to determine if one person receives overtime based on hours worked (True) or if that person does not receive it (false).


Related Questions

Write the definition of a function printAttitude, which has an int parameter and returns nothing. The function prints a message to standard output depending on the value of its parameter.If the parameter equals 1, the function prints disagreeIf the parameter equals 2, the function prints no opinionIf the parameter equals 3, the function prints agreeIn the case of other values, the function does nothing.Each message is printed on a line by itself.

Answers

Answer:

// code in C++.

#include <bits/stdc++.h>

using namespace std;

// function to print attitude

void printAttitude(int n)

{

// if input is 1

   if(n==1)

   cout<<"disagree"<<endl;

// if input is 2

   else if(n==2)

   cout<<"no opinion"<<endl;

// if input is 3

   else if(n==3)

   cout<<"agree"<<endl;

}

// main function

int main()

{ // variable

   int n;

   cout<<"Enter a number:";

   // read the input number

   cin>>n;

   // call the function

   printAttitude(n);

return 0;

}

Explanation:

Read a number from user and assign it to "n".Then call the function printAttitude() with parameter "n".In this function, if the input number is 1 then it will print "disagree", if the input number is 2 then it will print "no opinion" and if the input number is 3 then it will print "agree".function will do nothing if the input number is anything else.

Output:

Enter a number:2

no opinion

An organization is deploying a new system to the production environment. A security analyst discovers the system is not properly hardened or patched. Which of the following BEST describes the scenario?
A. A secure baseline was not established early in the process.
B. User acceptance testing was not completed.
C. Integrity checks were not conducted to ensure it was the correct system.
D. An application code error was introduced during the development phase.

Answers

Answer:

The best answer is A) A secure baseline was not established early in the process.

Explanation:

If the organization is deploying to the production environment and the security analyst discovers this risk at this point, then a secure baseline was not established, because it is impossible to successfully pass the coding and peer review instances by programmers and testing instances by the QA team without any warning to correct this problem.

________ assures that a system performs its intended function in an unimpaired manner, free from deliberate or inadvertent unauthorized manipulation of the system.a. Confidentialityb. System Integrityc. Availabilityd. Data Integrity

Answers

Answer: b)System Integrity

Explanation: System integrity is the function that assure that with the change or alteration in the system , the functioning does not gets interrupted. It does not let the unauthorized access to happen which will effect the system function with insecurity .

Other options are incorrect because confidentiality is the maintaining the security , availability is the presence of the function or data and data integrity is no change in the data security while unauthorized access.Thus, the correct option is option(b).

It takes 2.5 yards of material to make a dress harleys clothing design estimates that they can produce 48 dresses each week.if there are 52 weeks in a year how much material will they need to purchase to make dresses for a year?

Answers

Answer:

6240

Explanation:

if there is 48 each week thats basically 48×52 = 2496 which is how many dresses times how many yards per dress(2.5)I get 6240

Answer:

There will be requirement of 6240 yard of material in one year.

Explanation:

We have given that it takes 2.5 yard of a material to make a dress

And it can produce 48 dresses in each week

There are 52 weeks in a year

So total number of cloths in a year = 52 × 48 =2496

As it is given that 1 cloth takes 2.5 yard of material

So total material required = 2.5 × 2496 = 6240 yard

So there will be requirement of 6240 yard of material in one year.

A network administrator is noticing slow response times from the server to hosts on the network. After adding several new hosts, the administrator realizes that CSMA/CD results in network slowness due to congestion at the server NIC. What should the network administrator do?

Answers

Answer:

change results in network

Select the term used to describe the process, within the context of Active Directory, that allows a person with higher security privileges to assign authority to a person of lesser security privileges to perform certain tasks.

a) Authority delegation
b) Policy control
c) OU control
d) Delegation of control

Answers

Final answer:

Within Active Directory, the process for granting a user with lower privileges the authority to perform certain tasks by someone with higher privileges is known as Delegation of control.

Explanation:

The term used to describe the process in Active Directory that allows a person with higher security privileges to assign authority to a person of lesser security privileges to perform certain tasks is d) Delegation of control.

In Active Directory, delegation of control is instrumental for distributing the management of resources, giving limited administrative rights to users without elevating their overall privileges within the network. This helps maintain a secure and structured management environment by ensuring that administrative tasks can be carried out effectively while following the principle of least privilege.

The range of an area where users can access the Internet via high frequency radio signals transmitting an Internet signal from a wireless router is known as a _____.


A) Hotspot

B) PAN

C) Bluetooth

D) Bright Spot



I'll Give Brainlyest to first answer!!!!

Answers

A) hotspot
Bluetooth is for short distance and pan is Personal area networks (PANs) connect an individual's personal devices

Answer:

Option (A) is the correct answer of this question.

Explanation:

The main objective of  the hotspot is to giving the internet access to the user or the people with the help Wifi and the hotspot is giving the internet with the help Router.

In the Hotspot, the user would have very high frequency connections to the Internet and relay the Internet signal from the wireless router.

Bluetooth is used for short distance that's why is the incorrect answer.  PAN is Personal area networks (PANs) connect an individual's personal devices that's why is the incorrect answer.Bright Spot is used for the configuration purpose in the URL that 's why is the incorrect answer.

How many inputs are included in the following requirement? REQUIREMENT: Write a program that asks the employee for their age. The program must subtract the age from 65, and display the age, followed by the number of years left to retirement.

Answers

Answer:

The correct answer for the given question is 1

Explanation:

Following are the program in c language  

#include<stdio.h> // header file

#include<conio.h>  //header file

void main()  // main method

{

int age,retiredAge;  // variable

clrscr();  // clear screen

printf("Enter Age : ");

scanf("%d",&age);  // input age

printf("************************");

retiredAge = (65-age);  // calculating retired age

printf("\nYour Age is %d",age);

if(retiredAge<0)  // checking condition

{

printf("\nYou are already cross the retired age. Or Enter Invalid Age.");

}

else

{

printf("\nNo of Years Left to retired is %d",retiredAge);  // dsiplay age

}

getch();

}

Output:

Enter Age : 50

************************

Your Age is 50

No of Years Left to retired is 15

Here Age is the only required input to calculate the retirement age of employee. if entered age is greater than 65 then a message is printed " You are already cross the retired age. Or Enter Invalid Age. " if entered age is valid then retiredAge is calculated with the formula retiredAge = (65-age). and finally display the age,followed by the number of years left to retirement.

Therefore  1 input are required for the above program.

Given an int variable k, an int array incompletes that has been declared and initialized, an int variable nIncompletes that contains the number of elements in the array, an int variable studentID that has been initialized, and an int variable numberOfIncompletes, Write code that counts the number of times the value of studentID appears in incompletes and assigns this value to numberOfIncompletes. You may use only k, incompletes, nIncompletes, studentID, and numberOfIncompletes.

Answers

Answer:

I will code in Javascript.

Preconditions:

The variables k, incompletes has been declared and initialized.

The variable nIncompletes contains the number of elements of incompletes.

The variable stududentID has been declared and initialized.

The variable numberOfIncompletes has been declared.

Script:

numberOfIncompletes = 0; //initialize numberOfIncompletes

for( k = 0; k < nIncompletes; k++) {

      if(incompletes[k] == studentID){ //if the element of array is equal to studentID

         numberOfIncompletes++; //adds 1 to numberOfIncompletes

      }

}

Explanation:

The script uses a for loop to go through the entire array incompletes, comparing the k variable with nIncompletes and adding 1 on each pass.

Then inside the for, uses an if statement to compare if the actual element is equal to studentID, if equal adds 1 numberOfIncompletes.

__________ is a software package providing comprehensive coverage of all phases of the development process from writing Hypertext Markup Language (HTML) code to creating scripts for programs running on web servers.

Answers

Final answer:

A software package that covers all development process phases, from HTML coding to server-side scripting, is known as a web development tool or IDE. These tools are crucial for creating websites that balance various elements and aid users and developers in navigating complex human-software interactions.

Explanation:

​​​​​​​​​​​​​A software package providing comprehensive coverage of all phases of the development process from writing Hypertext Markup Language (HTML) code to creating scripts for programs running on web servers is known as a web development tool or Integrated Development Environment (IDE). These tools are essential for developers to create and manage websites, incorporating the various elements of design and functionality that make up a modern website. When selecting an IDE or web development tool, it is crucial to consider factors like human-software interactions, how these tools support complex automated systems, and the decision-making processes of workers as they are supported by the software system.

Tim Berners-Lee's contribution to the development of HTML and the world's first web server on his NeXT computer set the foundation for these tools. Today's development environments aim to provide a balance of text, images, and careful formatting—elements that were central to the early web and continue to be pivotal in the creation of responsive and accessible websites. The ability to create a website that effectively conveys information without overwhelming the reader is a key objective of a well-designed software package in web development.

Divided into L1, L2, and L3, the _____________ consists of a small amount of ______________ that serves as a holding area. This provides data to the CPU faster than getting it from regular memory or when RAM is unavailable because of refreshes.

Answers

Answer:

Divided into L1, L2, and L3, the cache  consists of a small amount of memory that serves as a holding area. This provides data to the CPU faster than getting it from regular memory or when RAM is unavailable because of refreshes.

Explanation:

The cache is the smallest memory (in relation with other types of memory), but the fastest one, due to the proximity of the Central Processing Unit. Indeed its inside the same chip.

There are several levels of cache memory according to the proximity of the CPU, been L1 the closest one and L3 the one that is more "far". The cache memory acts an interchange memory  for the register data inside the cpu, and allows to have information ready in short amount of time, avoiding the slow process of reading the disk everytime.

Print "Censored' if userlnput contains the word "darn, else print userlnput. End with newline. Ex: If userinput is "That darn cat., then output is: Censored Ex: If userlnput is "Dang, that was scary!", then output is: Dang, that was scary! Note: If the submitted code has an out-of-range access, the system will stop running the code after a few seconds, and report Program end never reached. The system doesn't print the test case that caused the reported message. 1 import java.util.Scanner; 3 public class CensoredWords 4public static void main ( 1 test passed String args) Scanner scnr -new Scanner(System.in); String userInput; A tests passed userInput scnr.nextLine); 10 Your solution goes here 12 13 Run

Answers

Answer:

The code is given below in Java with appropriate comments

Explanation:

//Import the input.

import java.util.Scanner;

class CensoredWords

{

    //Define the main method.

    public static void main(String args[ ])

    {

         //Define the variables.

         String userInput="" ;          

         //Define the scanner object

         Scanner scobj = new Scanner(System.in);

          //Accept the userInput.

         System.out.print("Enter String: ");

         userInput=scobj.nextLine();

         //Check if the input contains darn.

         //Print censored.

         if(userInput.toUpperCase().indexOf("DARN") != -1)

         System.out.printf("Censored");

         //IF the input does not contains darn

         //Print userInput.

         else

System.out.printf(userInput)

         return;

}

}

Your boss has purchased a new laptop for business use and has asked you to make sure the data he plans to store on the laptop is secure. Which of the following security measures is the most important to implement to keep the data secure? Second in importance?

a. Use BitLocker Encryption with the TPM chip.
b. Enable Secure boot.
c.Set a supervisor password to BIOS/UEFI.
d.Disable booting from the optical drive.

Answers

Answer:

a. Use BitLocker Encryption with the TPM chip.

b. Enable Secure boot.

Explanation:

Bit Locker encryption is a feature included in Microsoft windows that to in pro and enterprise version only.it is full volume encryption.First it was introduced in windows Vista.It is crafted to protect the data by providing encryption.

Secure boot makes sure that the device boots using Operating system or  software trusted by the manufacturer.

Final answer:

The most important security measure is to use BitLocker Encryption with the TPM chip, followed by enabling Secure Boot to ensure system integrity during bootup. These provide robust data protection and prevent unauthorized access or booting from potentially malicious software.

Explanation:

To ensure the data on the new laptop for business use is secure, the most important security measure to implement is to use BitLocker Encryption with the TPM chip. BitLocker is a full disk encryption feature included with Windows designed to protect data by providing encryption for entire volumes. By using it with the Trusted Platform Module (TPM) chip, it adds additional security by storing cryptographic keys in a tamper-resistant way.

The second most important security measure would be to enable Secure Boot. Secure Boot is a feature in the UEFI firmware that ensures that the system boots only with software that is trusted by the Original Equipment Manufacturer (OEM). This prevents malware from booting at startup, which is a critical security measure.

Setting a supervisor password to BIOS/UEFI and disabling booting from optical drive are additional security measures, but they are less important compared to the encryption of the hard drive and ensuring that the system boots securely.

Microsoft Xbox operating system provides Xbox programmers with a set of common standards to use to access controllers, the Kinect motion sensor, play sounds, draw graphics, save files, and more. Without this, games would:

a) be more reliable.
b) be a lot easier to write.
c) cost more.
d) look same.
e) not be restricted to just Microsoft's platforms.

Answers

The correct answer is: e) not be restricted to just Microsoft's platforms.

The Microsoft X box operating system provides a set of common standards that are specific to Microsoft's platforms, which can limit the portability of games to other platforms.

Here's why the other options are incorrect:

be more reliable: While consistent standards can potentially contribute to reliability, the main benefit of standards is simplifying development, not directly impacting reliability.

cost more: Standardized tools and libraries often reduce development costs by making the process more efficient.

look same: Games built on the same framework might share some similarities, but creative developers can still create diverse visual experiences even within a standardized platform.

not be restricted to just Microsoft's platforms: Standards themselves are platform-agnostic, but Microsoft's specific implementation of those standards would be limited to their platform.

Therefore, the most significant benefit of a common set of standards for X box programmers is that it significantly reduces the complexity and effort involved in writing games for the platform. This makes game development more accessible and allows developers to focus on creative aspects rather than reinventing basic functionalities.

By the 1990s, ______________ technology enabled one person operating a desktop computer to control most—or even all—of these functions. New photooptical printing machines used computer-controlled lasers to photosensitize printing drums, making short-run and even individualized full-color press sheets possible.

A. Photographic

B. Offset lithographic

C. Laser

D. Digital

Answers

Answer: D. Digital

Explanation:

By the 90s many changes were been seen in the global market where we had the digital technology glowing and the flourishing of digital devices which enabled a person to operate desktop computer and many others stuffs

one such contribution of digital technology can be seen in the field of printing machines where we had photooptical printing machines. These machines uses the energy of the photons to allow a beam of light to strike a material but as the digital age started it allowed using computer controlled lasers to photosensitize  printing drums whereby static electricity is laid on the surface of the drum. This technology enables full color press sheets possible.

Answer:

The answer is digital technology.

Explanation:

A digital technology is defined as "the branch of scientific or engineering knowledge that deals with the creation and practical use of digital or computarized devices, methods, systems" according to Dictionary dot com. It is also any device or system created using this knowledge.

Ilya has been asked to recommend a federation system technology that is an open source federation framework that can support the development of authorization protocols. Which of these technologies would he recommend?A. OAuth
B. Open ID Connect
C. Shibboleth
D. NTLM

Answers

Answer: A. OAuth

Explanation:

OAuth is one of the process by which different applications basically the third party applications can have access to account details of the end users. Here the process is completely governed by the principles of authorization protocols. Similarly in OAuth the access to the details of the end users are maintained by the process of a token. The third party upon access of the token is able to access the end users account information.

OAuth was established in 2007 and works on the framework of the open source federation.

So in this regard IIya would be recommended OAuth technology for her federal system technology.

A _____ occurs when one transaction reads data written by another transaction before the other transaction commits. dirty read lost column value collision uncommitted dependency

Answers

Answer: dirty read, uncommitted dependency

Explanation:

We have this problem of dirty read when we have many transactions running simultaneously and then one transaction reads a value which has not been committed by another transaction. If such a situation arises then it leads to problems as when it results in redundancy of data and we get a wrong result.

Uncommitted dependency also happens in this way by which it reads the value from a transaction which is in its intermediate stage.

The uncommitted value of the transaction is called as the dirty data and leads to redundancy in the final outcome of the transaction.

Which of the following lines of code is syntactically correct?
a. DECLARE order NUMBER; departure DATE; BEGIN ---- executable statements --- END
b. DECLARE order NUMBER; departure DATE BEGIN ---- executable statements --- END
c. DECLARE order NUMBER(3); departure DATE; BEGIN ---- executable statements --- END;
d. DECLARE order NUMBER(2); departure DATE; BEGIN; ---- executable statements --- END

Answers

Answer:

The answer is:

c.  

DECLARE

order NUMBER(3);

departure DATE;

BEGIN

---- executable statements ---

END;

Explanation:

SQL Commands must close with a semicolon to be correctly parsed by the server. This is the cause why the syntax is wrong in:

A. DATE; BEGIN ---- executable statements --- END lacks semicolon in END.

B. DECLARE order NUMBER; departure DATE lacks semicolon after DATE.

D. A. DATE; BEGIN ---- executable statements --- END lacks semicolon in END.

Convert the following binary numbers to decimal.
a. 00001001
b. 10000001
C. 11111110
d. 11000001

Answers

Answer:

a: 9

b: 129

c: 254

d: 193

Your organization’s network has multiple layers of security devices. When you attempt to connect to a service on the Internet. However, you receive a security message from the operating system stating that this service is blocked on your workstation. What could be the probable cause?
a. The IP address of the service is blocked by an intrusion detection system (IDS)
b. The service is blocked by the Internet Service Provider (ISP)
c. The proxy firewall on the network is blocking the service.
d. The host-based firewall settings are blocking the service.

Answers

Answer:

B.

Explanation:

A nonvolatile storage device
A. is not temperature-sensitive.B. is similar to cache memory.C. maintains data even when the computer's power is turned off.D. ​​is similar to RAM.

Answers

Answer:

C. maintains data even when the computer's power is turned off.

A nonvolatile storage device maintains data even when the computer's power is turned off. The correct option is C.

What is a nonvolatile storage device?

Because the data saved there is not destroyed when the machine is turned off, nonvolatile storage is required for long-term storage purposes. while, Once the system is shut off, volatile devices frequently lose the data that is stored on them.

Tape drives, HDDs, and SSDs are three typical instances of NVS devices that persistently store data. The semiconductor chips found inside devices like SSDs, HDDs, tape drives, and memory modules that store data or controller program code also fall under the definition of non-volatile storage.

Therefore, the correct option is C. maintains data even when the computer's power is turned off.

To learn more about nonvolatile storage devices, refer to the link:

https://brainly.com/question/5501280

#SPJ2

For the following code, how many times would the for loop execute? String str = ("Ben and Jerry's ice cream is great."); String[] tokens = str.split(" "); for (String s : tokens) System.out.println(s);
A. 1
B. 3
C. 5
D. 7

Answers

Answer:

D. 7

Explanation:

Given code:

String str = ("Ben and Jerry's ice cream is great.");  

String[] tokens = str.split(" ");  

for (String s : tokens) System.out.println(s);

Splitting the given sentence on space character yields 7 tokens, namely:

Ben , and , Jerry's , ice , cream , is , great.

So the for loop will execute 7 times, once for each token because the loop variable s is assigned an individual token on each iteration.

After a customer buys a computer or receives service from Top Computers and Service, a service representative contacts each customer to conduct a survey. The survey information is a form of output.a. Trueb. False

Answers

The answer is A. True

A technician recently fixed a computer with several viruses and spyware programs on it and notices the Internet settings were set to redirect all traffic through an unknown proxy. This type of attack is known as which of the following?A . PhishingB . Social engineeringC . Man-in-the-middleD . Shoulder surfing

Answers

Answer:

C . Man-in-the-middle

Explanation:

The man-in-the-middle technique is about the interference of a third party in the communication channel, without any of the extremes being able to notice its existence, in this way, for the user as well as for the destination page the communication will seem normal.

In this case, by redirecting traffic to a PROXY server, the attacker will have the possibility to read all the information that passes through it, being able to obtain all the desired data.

Other Malware can be used to configure the connection of the computer through the PROXY of the attacker and in this way the channel is open, until the PROXY is disabled and the malware that redirects is blocked or uninstalled.

What is the function of Google Analytics? web graphics website monitor website statistics programming

Answers

Answer:

Website monitor  is the function of Google Analytics

Explanation:

It gives valuable insights about the usage of website and ways to improve the number of visitors and the way the data is needed.

Google Analytics provides this service as a free of cost and also it collects data automatically and it also gives customized report and many other facilities with respect to monitoring of the website.

It also provides important information about the gender, device and location of the customer and why customer often bouncing off, what kind of a data are they interested and so on.

Answer:

D) Website Statistics.

Explanation:

I took the Career Explorations II Instruction/Assignment, this is the answer!!

Coding in content analysis involves:
a. conceptualization and operationalization.
b. inductive methods.
c. selecting a level of measurement
d. deductive methods
e. all of these choices are involved in coding in content analysis.

Answers

Answer:

e. All of these choices are involved in coding in content analysis.

Explanation:

Content Analysis is a tool for research used to find the presence of certain themes,concepts or words in some given qualitative data.

When coding in content analysis it involves conceptualization and operationalization ,selecting a level of measurement , deductive methods and inductive methods.

Hence the correct answer is option e.

Nmap scan results on a set of IP addresses returned one or more lines beginning with "cpe:/o:" followed by a company name, product name, and version. Which of the following would this string help an administrator to identify?A. Operating systemB. Running servicesC. Installed softwareD. Installed hardware

Answers

Answer: Operating system

Explanation:

N map stand for the network mapper and it is the network security tool in the open source. It is basically used to design the large network and also use to scan the particular single host in the network system.

The network mapper basically use the IP packets for detecting the particular host in the network. Then, the host provided various type of services in the operating system.

N-map basically used in the security audit by the various network administrators to identify the given string.

In Java write a method called wordCount that accepts a String as its parameter and returns the number of words in the String. A word is a sequence of one or more nonspace characters (any character other than ' '). For example, the call wordCount("hello") should return 1, the call wordCount("how are you?") should return 3, the call wordCount(" this string has wide spaces ") should return 5, and the call wordCount(" ") should return 0.

Answers

Answer:

// here is code in java.

import java.util.*;

// class definition

class Main

{

   // method that return the number of words in the string

   public static int wordCount(String st)

   {

       /* split the string by space " " delimiter

       and save them into  string array*/

       String[] no_words=st.split(" ");

       // find the length of array

       int len= no_words.length;

       //return the length

       return len;

   }

   // driver function

public static void main (String[] args) throws java.lang.Exception

{

   try{

    // scanner object to read input string

       Scanner s=new Scanner(System.in);

        // string variable

       String str;

       //ask user to enter string

       System.out.print("please enter the string: ");

       // read the string from user

       str=s.nextLine();

       // call the function with string parameter

      int tot_words= wordCount(str);

      // print the number of word in string

      System.out.println("total words in the string is : "+tot_words);

   }catch(Exception ex){

       return;}

}

}

Explanation:

Read a string from user with the help of scanner class object.Call the function

wordCount() with string parameter.Here split the string by space " " delimiter.

Save the words into a string array.Find the length of the array and return it.

Then in the main print the number of words in the input string.

Output:

please enter the string: this string has wide spaces

total words in the string is : 5

Why is it difficult to tell whether a program is correct? How do you go about finding bugs in your code? What kinds of bugs are revealed by testing? What kinds of bugs are not?

Answers

Final answer:

Program correctness is difficult to ascertain due to the many variables and inputs that can affect a software's behavior. Bugs can be identified through methods like unit testing, and adhering to good programming practices can help prevent many common errors. Nevertheless, not all issues can be revealed by testing, especially those outside the test conditions or involving non-functional aspects of the code.

Explanation:

It is difficult to tell whether a program is correct for several reasons. First, a program might work fine for some inputs but fail for others, especially if those inputs were not considered during development. Furthermore, the complexity of modern software and the interactions between different pieces of code can introduce subtle bugs that only emerge under specific conditions. In order to find bugs, a developer engages in testing and debugging processes.

Finding Bugs in Code:

Unit testing is one effective way to find and fix bugs. This involves breaking down your program into small, testable parts and ensuring each part works correctly in isolation. By using small test files and scenarios that you can verify manually, you can more easily identify discrepancies between the expected and actual outcomes. Additionally, rapid cycling between coding and testing can help identify errors early on before they compound and become harder to isolate.

Types of Bugs Revealed by Testing:

Testing can reveal syntax errors, runtime errors, logical errors, and integration issues. However, some bugs might not be uncovered by testing, such as those that occur under rare or untested conditions, or bugs related to non-functional requirements like performance under load or security vulnerabilities.

Good Programming Practices to Avoid Bugs:

To avoid bugs, it is crucial to follow good programming practices such as writing clean, readable code, reviewing code with colleagues, and avoiding writing large chunks of code without testing. Developers should write a small amount of code, test it, and repeat this process instead of trying to develop the entire program at once.

You also learn in class that one kilobyte of computer memory will hold about 2/3 of a page of typical text (without formatting). A typical book has about 400 pages. How many such books can a 9-gig flash drive hold? _______________

Answers

Answer:

The flashdrive can hold 35389 400-pages-books

Explanation:

If [tex]\frac{2}{3}[/tex] of a page occupies 1 kB of memory, we can calculate how much memory a book will take

[tex]2/3kB=1 page\\ x kB=400 pages\\266.67 kB=400 pages[/tex]

Now that we know that a book average file size is about 266,67 kB, we calculate how many of them can a 9 GB flash drive hold.

To do the calculation, we have to know how many kilobytes are in 9 gigabytes.

There is 1024 kilobytes in a megabyte, and 1024 megabytes in a gigabyte, so:

[tex]Memory_{in _kilobytes}^{} =1024\frac{kilobytes}{megabytes} *1024\frac{megabytes}{gigabytes}*9=9437184 kilobytes[/tex]

Finally, knowing the average file size of a book and how much memory in kilobytes the 9 GB flash drive holds, we calculate how many books can it hold.

[tex]Books=\frac{Flash drive memory}{Filesize of a book} =\frac{9437184kilobytes}{266.67\frac{kilobytes}{book} } =35389,4 books[/tex]

The flashdrive can hold 35389 400-pages-books, or 14155776 pages of typical text.

Other Questions
Applying and Analyzing Inventory Costing Methods At the beginning of the current period, Chen carried 1,000 units of its product with a unit cost of $20. A summary of purchases during the current period follows. During the period, Chen sold 2,800 units. Units Unit Cost Cost Beginning Inventory 1,000 $ 20 $ 20,000 Purchase #1 1,800 22 39,600 Purchase #2 800 26 20,800 Purchase #3 1,200 29 34,800 (a) Assume that Chen uses the first-in, first-out method. Compute both cost of good sold for the current period and the ending inventory balance. Use the financial statement effects template to record cost of goods sold for the period. Ending inventory balance $Answer 0 Which statement is true regarding cancer? (Select all that apply.) a. The greater the undifferentiated cell count, the more aggressive the cancer. b. Malignant tumors have the potential to kill the host. c. Benign tumors grow rapidly than malignant ones. d. Anaplasia means more differentiated cells. e. Metastasis means less differentiated cells. What is the range of the function on the graph Cantwell Associates, a real estate devel- oper,is planning tobuild a new apartment complex con- sisting ofone-bedroomunits andtwo- and three-bedroom townhouses. A total of192 units is planned,and the number of family units (two- andthree-bedroom town- houses)will equal the number of one-bedroomunits. If the number ofone-bedroom units will be three times thenumber of three-bedroomunits, find how many units of each typewill be in the complex. Elias was talking to his psychology professor this afternoon about the possibility of sharing his research findings on small spaces with the director of dormitory residences at the college. If the findings are applied to change the dormitory environment, then which of the four main goals of psychology would be exemplified? Please put these from greatest to least. During the economic downturn, Alejandros neighbor, a successful accountant, lost his job and had to sell his house. Alejandro decided that this neighbor "must have really messed up at his workplace." This is an example of ____.A. situational attributionB. actor-observer biasC. just-world beliefD. self-serving bias solve by substitution {2p-3r=6{-2p+3r=-6 all these problems w work shown r due in the morning pls help !! a stock is a written promise to repay borrowed money at a later date to raise money true or false How much does 269 mmol of magnesium sulfate heptahydrate weigh, in grams? what are the measures of angle A and angle B when angle A ishalf as large as its complement, angle b? IF A SUBSCRIPTION IS $499 PLUS 8% TAX FOR 30 DAYS, BUT IS BEING PRORATED FOR 7 DAYS, PLUS THERE IS A $10 OFF COUPON, WHAT'S THE FINAL COST? Suppose that a group of manufacturing firms is asked whether orders for their product have increased, remained about the same, or decreased during the last month. Suppose also that 40% report that orders increased, 40% report that orders decreased, while the remainder reported no change. What would the value of the diffusion index be? Which tooth surface of the anterior teeth in nearest the lips?a. mesialb. labialc. proximald. buccal Lucy ate eight more than three times as many pretzels as Matt Lucy ate 56 pretzels how many pretzels did Matt eat George picked flowers every day for three days. On the first day George picked 2 flowers. On the second day George picked 6 flowers, and on the third day he picked 10. A function can model George's sequence. What is the slope of that function? A) 2 B) 3 C) 4 D) 5 Suppose two equal charges of 0.65 C each are separated by a distance of 2.5 km in air. What is the magnitude of the force acting between them, in newtons? 1. Gabriel va a la playa. lgico ilgico 2. Gabriel est listo para salir. lgico ilgico 3. Va a hacer fro en Chicago. lgico ilgico 4. Gabriel viaja a Espaa. lgico ilgico 5. Mercedes va a viajar tambin. lgico ilgico A rock is dropped from a tall building. If the rock starts at rest , and the origin of the coordinate system is taken at the pinnacle of the building with positive direction taken to be upward direction, after 5.18 seconds: a) What is the displacement of the rock? b) What is the velocity of the rock? A type of transmission line for electromagnetic waves consists of two parallel conducting plates (assumed infinite in width) separated by a distance a. Each plate carries the same uniform surface current density of 16.0 A/m, but the currents run in opposite directions. What is the magnitude of the magnetic field between the plates at a point 1.00 mm from one of the plates if a = 0.800 cm? (0 = 4 10-7 T m/A)