Can you recommend me some elementary computer science textbook?

Answers

Answer 1

https://bookauthority.org/books/beginner-computer-science-books

Hope this help ;)


Related Questions

Choose the type of app that best completes each sentence.
If an app needs to be able to have full access to the device's hardware and does not need to run on different platforms, then a
app is probably the best choice. If it is crítical for an app to run on as many platforms as possible and the hardware
functionality is not important, then a app is probably the best choice. If some hardware functionality is necessary as
well as cross-platform availability, then a
app is probably the best choice.

Choose the type of app that best completes each sentence.If an app needs to be able to have full access

Answers

If an app needs to be able to have full access to the device's hardware and does not need to run on different platforms, then a Native Applications is useful.

If it is critical for an app to run on as many platforms as possible and the hardware functionality is not important, then a app is probably the best choice. If some hardware functionality is necessary as well as cross-platform availability then use Hybrid Applications.

What is Hybrid Applications?

This is known to be an Applications that is said to be written using a language and development environment.

Native Applications is known to be an app made only for a particular platform, such as iPhone or Android, etc.

Learn more about Applications from

https://brainly.com/question/1538272

I know this is late, but the answers are...

First blank: Native

Second blank: Hybrid

Third blank: Web

PROOF:

Choose the type of app that best completes each sentence.If an app needs to be able to have full access

Output is the act of is the act of entering the data to the computer?​

Answers

Answer:

Output is the act of the computer display information based on your input

Explanation:

Funny thing is that output is the exact opposite of what you just described

discuss seven multimedia keys​

Answers

Answer:

Any seven multimedia keys are :-

□Special keys

Alphabet keys

Number keys

□Control keys

Navigation keys

Punctuation keys

Symbol keys

pls pls pls pls pls pls pls pls plks

Answers

Answer:

Want to begin introduction?.......

In Java only please:
4.15 LAB: Mad Lib - loops
Mad Libs are activities that have a person provide various words, which are then used to complete a short story in unexpected (and hopefully funny) ways.

Write a program that takes a string and an integer as input, and outputs a sentence using the input values as shown in the example below. The program repeats until the input string is quit and disregards the integer input that follows.

Ex: If the input is:

apples 5
shoes 2
quit 0
the output is:

Eating 5 apples a day keeps you happy and healthy.
Eating 2 shoes a day keeps you happy and healthy

Answers

Answer:

Explanation:

import java.util.Scanner;

public class MadLibs {

   public static void main(String[] args) {

       Scanner input = new Scanner(System.in);

       String word;

       int number;

       do {

           System.out.print("Enter a word: ");

           word = input.next();

           if (word.equals("quit")) {

               break;

           }

           System.out.print("Enter a number: ");

           number = input.nextInt();

           System.out.println("Eating " + number + " " + word + " a day keeps you happy and healthy.");

       } while (true);

       System.out.println("Goodbye!");

   }

}

In this program, we use a do-while loop to repeatedly ask the user for a word and a number. The loop continues until the user enters the word "quit". Inside the loop, we read the input values using Scanner and then output the sentence using the input values.

Make sure to save the program with the filename "MadLibs.java" and compile and run it using a Java compiler or IDE.

१८. तलका शीर्षकमा १५० शब्दसम्मको निबन्ध लेख्नुहोस् :
(क) सुशासन र विकास

Answers

Answer:

n

Explanation:

Answer:

kkkkkkkkikkkkkkkkkkkiikkiiii

Which of the following statements creates a constant in Java?
A.int const = 5;
B. const int x = 5;
C. final int x = 5;
D. const x = 5;

Answers

Answer: C

Explanation: C establishes a constant integer of 5 as x

Part 1: For this assignment, call it assign0 Implement the following library and driver program under assign0: Your library will be consisting of myio.h and myio.c. The function prototypes as well as more explanations are listed in myio.h. Please download it and accordingly implement the exported functions in myio.c. Basically, you are asked to develop a simple I/O library which exports a few functions to simplify the reading of an integer, a double, and more importantly a string (whole line). In contrast to standard I/O functions that can read strings (e.g., scanf with "%s", fgets) into a given static size buffer, your function should read the given input line of characters terminated by a newline character into a dynamically allocated and resized buffer based on the length of the given input line. Also your functions should check for possible errors (e.g., not an integer, not a double, illigal input, no memory etc.) and appropriately handle them. Then write a driver program driver.c that can simply use the functions from myio library. Specifically, your driver program should get four command-line arguments: x y z output_filename. It then prompts/reads x many integers, y many doubles, and z many lines, and prints them into a file called output_filename.txt. Possible errors should be printed on stderr.

myio.h file

/*
* File: myio.h
* Version: 1.0
* -----------------------------------------------------
* This interface provides access to a basic library of
* functions that simplify the reading of input data.
*/

#ifndef _myio_h
#define _myio_h

/*
* Function: ReadInteger
* Usage: i = ReadInteger();
* ------------------------
* ReadInteger reads a line of text from standard input and scans
* it as an integer. The integer value is returned. If an
* integer cannot be scanned or if more characters follow the
* number, the user is given a chance to retry.
*/

int ReadInteger(void);

/*
* Function: ReadDouble
* Usage: x = ReadDouble();
* ---------------------
* ReadDouble reads a line of text from standard input and scans
* it as a double. If the number cannot be scanned or if extra
* characters follow after the number ends, the user is given
* a chance to reenter the value.
*/

double ReadDouble(void);

/*
* Function: ReadLine
* Usage: s = ReadLine();
* ---------------------
* ReadLine reads a line of text from standard input and returns
* the line as a string. The newline character that terminates
* the input is not stored as part of the string.
*/

char *ReadLine(void);

/*
* Function: ReadLine
* Usage: s = ReadLine(infile);
* ----------------------------
* ReadLineFile reads a line of text from the input file and
* returns the line as a string. The newline character
* that terminates the input is not stored as part of the
* string. The ReadLine function returns NULL if infile
* is at the end-of-file position. Actually, above ReadLine();
* can simply be implemented as return(ReadLineFile(stdin)); */

char *ReadLineFile(FILE *infile);

#endif

Answers

Answer:

Explanation:

PROGRAM

main.c

#include <fcntl.h>

#include <stdio.h>

#include <stdlib.h>

#include <sys/stat.h>

#include <sys/types.h>

#include <unistd.h>

#include "myio.h"

int checkInt(char *arg);

int main(int argc, char *argv[]) {

  int doubles, i, ints, lines;

  char newline;

  FILE *out;

  int x, y, z;

  newline = '\n';

  if (argc != 5) {

     printf("Usage is x y z output_filename\n");

     return 0;

  }

  if (checkInt(argv[1]) != 0)

     return 0;

  ints = atoi(argv[1]);

  if (checkInt(argv[2]) != 0)

     return 0;

  doubles = atoi(argv[2]);

  if (checkInt(argv[3]) != 0)

     return 0;

  lines = atoi(argv[3]);

  out = fopen(argv[4], "a");

  if (out == NULL) {

     perror("File could not be opened");

     return 0;

  }

  for (x = 0; x < ints; x++) {

     int n = ReadInteger();

     printf("%d\n", n);

     fprintf(out, "%d\n", n);

  }

  for (y = 0; y < doubles; y++) {

     double d = ReadDouble();

     printf("%lf\n", d);

     fprintf(out, "%lf\n", d);

  }

  for (z = 0; z < lines; z++) {

     char *l = ReadLine();

     printf("%s\n", l);

     fprintf(out, "%s\n", l);

     free(l);

  }

  fclose(out);

  return 0;

}

int checkInt(char *arg) {

  int x;

  x = 0;

  while (arg[x] != '\0') {

     if (arg[x] > '9' || arg[x] < '0') {

        printf("Improper input. x, y, and z must be ints.\n");

        return -1;

     }

     x++;

  }

  return 0;

}

myio.c

#include <limits.h>

#include <stdio.h>

#include <stdlib.h>

#include <unistd.h>

char *ReadInput(int fd) {

  char buf[BUFSIZ];

  int i;

  char *input;

  int r, ret, x;

  i = 1;

  r = 0;

  ret = 1;

  input = calloc(BUFSIZ, sizeof(char));

  while (ret > 0) {

     ret = read(fd, &buf, BUFSIZ);

   

     for (x = 0; x < BUFSIZ; x++) {

        if (buf[x] == '\n' || buf[x] == EOF) {

           ret = -1;

           break;

        }

        input[x*i] = buf[x];

        r++;

     }

   

     i++;

   

     if (ret != -1)

        input = realloc(input, BUFSIZ*i);

  }

  if (r == 0)

     return NULL;

  input[r] = '\0';

  input = realloc(input, r+1);

  return(input);

}

int ReadInteger() {

  char *input;

  int go, num, x;

  go = 0;

  do {

     go = 0;

   

     printf("Input an integer\n");

     input = ReadInput(STDIN_FILENO);

     for (x = 0; x < INT_MAX; x++) {

        if (x == 0&& input[x] == '-')

           continue;

        if (input[x] == 0)

           break;

        else if (input[x]> '9' || input[x] < '0') {

           go = 1;

           printf("Improper input\n");

           break;

        }

    }

  } while (go == 1);

  num = atoi(input);

  free(input);

  return num;

}

double ReadDouble(void) {

  int dec, exp;

  char *input;

  int go;

  double num;

  int x;

  do {

     go = 0;

     dec = 0;

     exp = 0;

   

     printf("Input a double\n");

     input = ReadInput(STDIN_FILENO);

     for (x = 0; x < INT_MAX; x++) {

        if (x == 0&& input[x] == '-')

           continue;

        if (input[x] == 0)

           break;

        else if (input[x] == '.' && dec == 0)

           dec = 1;

        else if (x != 0&& (input[x] == 'e' || input[x] == 'E') && exp == 0) {

           dec = 1;

           exp = 1;

        }

        else if (input[x]> '9' || input[x] < '0') {

           go = 1;

           printf("Improper input\n");

           break;

        }

     }

  } while (go == 1);

  num = strtod(input, NULL);

  free(input);

  return num;

}

char *ReadLine(void) {

  printf("Input a line\n");

  return(ReadInput(STDIN_FILENO));

}

char *ReadLineFile(FILE *infile) {

  int fd;

  fd = fileno(infile);

  return(ReadInput(fd));

}

myio.h

#ifndef _myio_h

#define _myio_h

/*

* Function: ReadInteger

* Usage: i = ReadInteger();

* ------------------------

* ReadInteger reads a line of text from standard input and scans

* it as an integer. The integer value is returned. If an

* integer cannot be scanned or if more characters follow the

* number, the user is given a chance to retry.

*/

int ReadInteger(void);

/*

* Function: ReadDouble

* Usage: x = ReadDouble();

* ---------------------

* ReadDouble reads a line of text from standard input and scans

* it as a double. If the number cannot be scanned or if extra

* characters follow after the number ends, the user is given

* a chance to reenter the value.

*/

double ReadDouble(void);

/*

* Function: ReadLine

* Usage: s = ReadLine();

* ---------------------

* ReadLine reads a line of text from standard input and returns

* the line as a string. The newline character that terminates

* the input is not stored as part of the string.

*/

char *ReadLine(void);

/*

* Function: ReadLine

* Usage: s = ReadLine(infile);

* ----------------------------

* ReadLineFile reads a line of text from the input file and

* returns the line as a string. The newline character

* that terminates the input is not stored as part of the

* string. The ReadLine function returns NULL if infile

* is at the end-of-file position. Actually, above ReadLine();

* can simply be implemented as return(ReadLineFile(stdin)); */

char *ReadLineFile(FILE *infile);

Today technology is based in Science and engineering, earlier it was based on
__________ _____-_____.

Answers

Answer:

Technical know-how

Explanation:

In c++, make the output exactly as shown in the example.

In c++, make the output exactly as shown in the example.

Answers

Answer:

Here's a C++ program that takes a positive integer as input, and outputs a string of 1's and 0's representing the integer in reverse binary:

#include <iostream>

#include <string>

std::string reverse_binary(int x) {

   std::string result = "";

   while (x > 0) {

       result += std::to_string(x % 2);

       x /= 2;

   }

   return result;

}

int main() {

   int x;

   std::cin >> x;

   std::cout << reverse_binary(x) << std::endl;

   return 0;

}

The reverse_binary function takes an integer x as input, and returns a string of 1's and 0's representing x in reverse binary. The function uses a while loop to repeatedly divide x by 2 and append the remainder (either 0 or 1) to the result string. Once x is zero, the function returns the result string.

In the main function, we simply read in an integer from std::cin, call reverse_binary to get the reverse binary representation as a string, and then output the string to std::cout.

For example, if the user inputs 6, the output will be "011".

Hope this helps!

TO EXIT WORD YOU CLICK WHAT

Answers

File > Close
(Or the X in the corner?)

Answer:

To exit Word, you can click on the "File" menu and then click "Exit" or "Close".

zoom has been criticized for opening up its platform for use by non-paying users why would zoom do this and why would paying customers care?

Answers

Like many other businesses, Zoom uses a "freemium" business model, whereby a basic version of its product is offered without charge and more features and services are charged for.

What is customers care?

Customer service refers to the help and guidance a business offers to consumers who purchase or utilize its goods or services.

By making its software available for free, Zoom may draw in a sizable user base and make money from costly upgrades and subscriptions.

It is possible to interpret Zoom's move to make its platform available to non-paying customers as an effort to grow its user base and reach.

Thus, offering a free version of the product may be a wise economic decision for Zoom, but in order to maintain a great user experience and guarantee the security and privacy of its customers, the company must balance the needs of both its paying and non-paying users.

For more details regarding customer care, visit:

https://brainly.com/question/30130552

#SPJ1

Write a program that prompts the user to enter his/her first name, last name, and year of birth in a single string (in the format: fn;ln;yyyy), then calculates the age tell it to him/her after greeting him/her using the first name.
Make sure to capitalize the user's first name, regardless of how he/she typed it in.
Hint: review Exercise 1!
Example:
Enter your first name, last name, and birth year (in format fn;ln;yyyy): alex;smith;1994
Hi Alex, you are 26 years old!

Answers

name = entry ("What is your name: ")

age = int("How old are you:")

year = 2014 - age + 100 print(name + "You'll turn 100 in the year " + str(year))

How does prompt programming work?

An explicit request made by the software to the user in order to elicit data is known as a programming prompt. This usually takes the form of a question or prompt that the user must respond to before the software may continue to operate.

What sort of prompt comes to mind?

When his friend did not answer his first question, he repeated, "Did you hear me?" Someone who was standing offstage had to prompt the actor. I was asked to enter a number by the computer.

To know more about prompt visit:-

https://brainly.com/question/29805090

#SPJ4

Excel

Please explain why we use charts and what charts help us to identify.
Please explain why it is important to select the correct data when creating a chart.

Answers

1) We use chart for Visual representation, Data analysis, Effective communication and Decision-making.

2. It is important to select the correct data when creating a chart Accuracy, Credibility, Clarity and Relevance.

Why is necessary to select the correct data in chart creation?

Accuracy: Selecting the right data ensures that the chart accurately represents the information you want to convey. Incorrect data can lead to misleading or incorrect conclusions.

Relevance: Choosing the appropriate data ensures that your chart focuses on the relevant variables and relationships, making it more useful for analysis and decision-making.

Clarity: Including unnecessary or irrelevant data can clutter the chart and make it difficult to interpret. Selecting the correct data helps to maintain clarity and simplicity in the chart's presentation.

Credibility: Using accurate and relevant data in your charts helps to establish credibility and trust with your audience, as it demonstrates a thorough understanding of the subject matter and attention to detail.

Find more exercises related to charts;

https://brainly.com/question/26501836

#SPJ1

Examine the information in the URL below.

http://www.example/home/index.html

In the URL, what is the subdomain and what is the domain name?

A The subdomain is http:// and the domain name is .html.
B The subdomain is /home/ and the domain name is http://.
C The subdomain is www and the domain name is example.com.
D The subdomain is example.com and the domain name is www.

Answers

Answer:

B The subdomain is /home/ and the domain name is http://.

Explanation:

Answer:

The subdomain is /home/ and the domain name is http://.

Explanation:

You are the IT security administrator for a small corporate network. The HR director is concerned that an employee is doing something sneaky on the company's employee portal and has authorized you to hijack his web session so you can investigate.

Your task is to hijack a web session as follows:

a. On IT-Laptop, use Ettercap to sniff traffic between the employee's computer in Office1 and the gateway.
b. Initiate a man-in-the-middle attack to capture the session ID for the employee portal logon.
c. On Office1, log in to the employee portal on rmksupplies using Chrome and the following credentials: Username: bjackson Password:
d. On Office2, navigate to rmksupplies and use the cookie editor plug-in in Chrome to inject the session ID cookie. Verify that you hijacked the session.

Answers

Answer: A, it's the most professional way or C but I'd choose A

In not more than 3 pages discuss the concept of digital literacy

Answers

I don’t know if you want me something to

You have the opportunity to meet some droids and Wookies!


Prompt the user for their name, then how many droids, and then how many Wookies they want to meet. Print out the name that was given, as well as how many droids and Wookies they wanted to meet.

Answers

Answer:

name = input("Enter name: ")

droids = int(input("How many droids you want to meet? "))

wookies = int(input("How many Wookies you want to meet? "))

   

print(name + " wants to meet " + str(droids) + " droids, and " + str(wookies) + " Wookies")

Explanation:

*The code is in Python.

Ask the user to enter the name, number of the droids and number of the Wookies

Print the name, number of the droids, and number of the Wookies

Note that while getting the input for the droids and wookies, you need to typecast the input the int (Since the values are int). Also, to print these variables, you need to typecast them as string in that format.

The program is a sequential program, and does not require loops and conditions

The program in Python where comments are used to explain each line is as follows:

#This prompts the user for name

userName = input("Name: ")

#This prompts the user for number of droids

numDroids = int(input("Droids: "))

#This prompts the user for number of wookies

numWookies = int(input("Wookies: "))

#This prints the output

Read more about sequential programs at:

https://brainly.com/question/20475581

Without using parentheses, enter a formula in C4 that determines projected take home pay. The value in C4, adding the value in C4 multiplied by D4, then subtracting E4.

HELP!

Answers

Parentheses, which are heavy punctuation, tend to make reading prose slower. Additionally, they briefly divert the reader from the core idea and grammatical consistency of the sentence.

What are the effect of Without using parentheses?

When a function is called within parenthesis, it is executed and the result is returned to the callable. In another instance, a function reference rather than the actual function is passed to the callable when we call a function without parenthesis.

Therefore, The information inserted between parenthesis, known as parenthetical material, may consist of a single word, a sentence fragment, or several whole phrases.

Learn more about parentheses here:

https://brainly.com/question/26272859

#SPJ1

a hardware production method of lesser expense whereby the casket hardware sections are pressed out on a hydraulic press.

Answers

the casket hardware is pushed out using a hydraulic press, which is a less expensive technique of producing hardware. equipment for plastic extrusion molding.

What is the process for creating hardware?

There are seven phases in the hardware product development lifecycle. Design, construction, testing, distribution, use, upkeep, and disposal are the steps after requirements or ideation.

How are hydraulic systems pressed?

A modest amount of force is used by the hydraulic press to push the fluid below by applying it to the plunger. Following an uniform distribution of pressure, the Ram is raised. The object placed between the Plunger and the Ram is crushed by the pressure exerted by the two.

To know more about hydraulic press visit:-

https://brainly.com/question/12978121

#SPJ4

Discuss the importance of the topic of your choice to a fingerprint case investigation.​

Answers

The topic of fingerprint analysis is of critical importance to a fingerprint case investigation due to several key reasons:

Identifying Individuals: Fingerprints are unique to each individual and can serve as a reliable and conclusive means of identification. By analyzing fingerprints found at a crime scene, forensic experts can link them to known individuals, helping to establish their presence or involvement in the crime. This can be crucial in solving cases and bringing perpetrators to justice.

What is the use of fingerprint?

Others are:

Evidence Admissibility: Fingerprint evidence is widely accepted in courts of law as reliable and credible evidence. It has a long-established history of admissibility and has been used successfully in countless criminal cases. Properly collected, preserved, and analyzed fingerprint evidence can greatly strengthen the prosecution's case and contribute to the conviction of the guilty party.

Forensic Expertise: Fingerprint analysis requires specialized training, expertise, and meticulous attention to detail. Forensic fingerprint experts are trained to identify, classify, and compare fingerprints using various methods, such as visual examination, chemical processing, and digital imaging. Their skills and knowledge are crucial in determining the presence of fingerprints, recovering latent prints, and analyzing them to draw conclusions about the individuals involved in a crime.

Lastly, Exclusionary Capability: Fingerprints can also serve as an exclusionary tool in criminal investigations. By eliminating suspects or individuals who do not match the fingerprints found at a crime scene, fingerprint analysis can help narrow down the pool of potential suspects and focus investigative efforts on the most relevant individuals.

Read more about fingerprint here:

https://brainly.com/question/2114460

#SPJ1

how to identify the significant accounts, disclosures, and relevant assertions in auditing long-lived assets.

Answers

To identify the significant accounts, disclosures, and relevant assertions in auditing long-lived assets are as follows:

How do you calculate the Long-Lived assets?

Upon recognition, a long-lived asset is either reported under the cost model at its historical cost less accumulated depreciation (amortisation) and less any impairment or under the revaluation model at its fair value.

Why are long-lived assets are depreciated?

Long-term assets must be depreciated throughout the period of their useful lives, much like most other types of assets. It is because a long-term asset is not anticipated to produce benefits indefinitely.

The long-lived assets are also called Non-current assets, and they contain both tangible and intangible assets and are utilised throughout several operational cycles.

-Tangible assets are things with a physical shape. • Equipment, structures, and land.

-Intangible assets have a form that is not physical. • Copyrights, patents, trademarks, and brand recognition.

Hence, the significant accounts, closures and relevant assertions are identified by the above steps.

To learn more about the long-lived assets from the given link

https://brainly.com/question/26718741

#SPJ1

In "PUBATTLEGROUNDS” what is the name of the Military Base island?

Answers

Answer:

Erangel

Explanation:

Answer:

Erangel

Explanation:

The Military Base is located on the main map known as Erangel. Erangel is the original map in the game and features various landmarks and areas, including the Military Base.

The Military Base is a high-risk area with a significant amount of loot, making it an attractive drop location for players looking for strong weapons and equipment. It is situated on the southern coast of Erangel and is known for its large buildings, warehouses, and military-themed structures.

The Military Base is a popular destination for intense early-game fights due to its high loot density and potential for player encounters.

Hope this helps!

The total number of AC cycles completed in one second is the current’s A.timing B.phase
C.frequency
D. Alterations

Answers

The total number of AC cycles completed in one second is referred to as the current's frequency. Therefore, the correct answer is frequency. (option c)

Define AC current: Explain that AC (alternating current) is a type of electrical current in which the direction of the electric charge periodically changes, oscillating back and forth.

Understand cycles: Describe that a cycle represents one complete oscillation of the AC waveform, starting from zero, reaching a positive peak, returning to zero, and then reaching a negative peak.

Introduce frequency: Define frequency as the measurement of how often a cycle is completed in a given time period, specifically, the number of cycles completed in one second.

Unit of measurement: Explain that the unit of measurement for frequency is hertz (Hz), named after Heinrich Hertz, a German physicist. One hertz represents one cycle per second.

Relate frequency to AC current: Clarify that the total number of AC cycles completed in one second is directly related to the frequency of the AC current.

Importance of frequency: Discuss the significance of frequency in electrical engineering and power systems. Mention that it affects the behavior of electrical devices, the design of power transmission systems, and the synchronization of different AC sources.

Frequency measurement: Explain that specialized instruments like frequency meters or digital multimeters with frequency measurement capabilities are used to accurately measure the frequency of an AC current.

Emphasize the correct answer: Reiterate that the current's frequency represents the total number of AC cycles completed in one second and is the appropriate choice from the given options.

By understanding the relationship between AC cycles and frequency, we can recognize that the total number of AC cycles completed in one second is referred to as the current's frequency. This knowledge is crucial for various aspects of electrical engineering and power systems. Therefore, the correct answer is frequency. (option c)

For more such questions on AC cycles, click on:

https://brainly.com/question/15850980

#SPJ8

match the parts of a project plan listed in Column A to the specific examples given in Column B.Write the letter of your answer to the space provided before each number ​

match the parts of a project plan listed in Column A to the specific examples given in Column B.Write

Answers

Answer:

The name of the project is    C: Reversible Playmat The objectives are given in B The Sketch is given as D The Materials needed is listed in A The procedure is FEvaluation is E

Explanation:

You would find that the other matches are relatively easy save for B and F. The difference between the procedure is that the procedure is more detailed about what needs to be done.

Notice that F states exactly, the dimensions that need to be cut while B albeit wordier, gives a description of the end result only.

Cheers.

3. An open source software operating system
TYPE THE ANSWER

Answers

Answer:

Linux  

Explanation:

I read the reading

CALCULATE THE MISSING VALUE:


1. P=?, I = 2A, E = 12V

2. P=200W, I = 2A, E = ?

3. P= 100W, I = ?, E = 120V

4. P = 1000W,I= 10A, E = ?

5. P=150W, I = ?, E = 120V

6. P=?,I= 3A, E = 15V

7. P=300W, I = ?, E = 100V

8. What unit is to measure power?

9. What unit is to measure voltage?

10. What unit is to measure amperage?.​

CALCULATE THE MISSING VALUE:1. P=?, I = 2A, E = 12V 2. P=200W, I = 2A, E = ? 3. P= 100W, I = ?, E = 120V

Answers

Answer:

See below ~

Explanation:

Relating Power (P), Amperage (I), and Voltage (V) :

Power (P) = Voltage (V) × Amperage (I)

===========================================================

Q1

⇒ P = 2A × 12V

⇒ P = 24W

============================================================

Q2

⇒ 200W = 2A × E

⇒ E = 100V

=============================================================

Q3

⇒ 100W = I × 120V

⇒ I = 5/6

⇒ I = 0.83A

=============================================================

Q4

⇒ 1000W = 10A × E

⇒ E = 100V

=============================================================

Q5

⇒ 150W = I × 120V

⇒ I = 5/4

⇒ I = 1.25A

=============================================================

Q6

⇒ P = 3A × 15V

⇒ P = 45W

===========================================================

Q7

⇒ 300W = I × 100v

⇒ I = 3A

============================================================

Q8

⇒ The unit to measure power is Watt (W)

===========================================================

Q9

⇒ The unit to measure voltage is volt (V)

============================================================

Q10

⇒ The unit to measure amperage is Ampere (A)

Looking at the code below, what answer would the user need to give for the while loop to run?

System.out.println("Pick a number!");
int num = input.nextInt();

while(num > 7 && num < 9){
num--;
System.out.println(num);
}


9

2

7

8

Answers

The number that the user would need for the whole loop to run would be D. 8.

What integer is needed for the loop to run ?

For the while loop to run, the user needs to input a number that satisfies the condition num > 7 && num < 9. This condition is only true for a single integer value:

num = 8

The loop will only run if the number is greater than 7 and less than 9 at the same time. There is only one integer that satisfies this condition: 8.

If the user inputs 8, the while loop will run.

Find out more on loops at https://brainly.com/question/19344465

#SPJ1

4) Create a text file (you can name it sales.txt) that contains in each line the daily sales of a company for a whole month. Then write a Java application that: asks the user for the name of the file, reads the total amount of sales, calculates the average daily sales and displays the total and average sales. (Note: Use an ArrayList to store the data).

Answers

Answer:

Here's an example Java application that reads daily sales data from a text file, calculates the total and average sales, and displays the results:

import java.util.ArrayList;

import java.util.Scanner;

import java.io.File;

import java.io.FileNotFoundException;

public class SalesDemo {

   public static void main(String[] args) {

       // Ask the user for the name of the file

       Scanner input = new Scanner(System.in);

       System.out.print("Enter the name of the sales file: ");

       String fileName = input.nextLine();

       // Read the daily sales data from the file

       ArrayList<Double> salesData = new ArrayList<>();

       try {

           Scanner fileInput = new Scanner(new File(fileName));

           while (fileInput.hasNextDouble()) {

               double dailySales = fileInput.nextDouble();

               salesData.add(dailySales);

           }

           fileInput.close();

       } catch (FileNotFoundException e) {

           System.out.println("Error: File not found!");

           System.exit(1);

       }

       // Calculate the total and average sales

       double totalSales = 0.0;

       for (double dailySales : salesData) {

           totalSales += dailySales;

       }

       double averageSales = totalSales / salesData.size();

       // Display the results

       System.out.printf("Total sales: $%.2f\n", totalSales);

       System.out.printf("Average daily sales: $%.2f\n", averageSales);

   }

}

Assuming that the sales data is stored in a text file named "sales.txt" in the format of one daily sale per line, you can run this program and input "sales.txt" as the file name when prompted. The program will then calculate the total and average sales and display the results.

I hope this helps!

Explanation:

1) Create a method Sum to include a FOR loop. Get a scanner and input a number form the keyboard in main(). The method will take one parameter and calculate the sum up to that number. For example, if you pass 5, it it will calculate 1+2+3+4+5 and will return it back to main() method. Main method should call the method, get the sum back, and print a sum. You call the method from main() and get the result back to main() 2) Create another method: Factorial that calculates a Product of same numbers, that Sum does for summing them up. Make sure you use FOR loop in it. 3) Make a switch that Calls either sum(...) method OR factorial(...) method, depending on what user of the program wants. Ask the user to enter a selection, after the number is entered, such as "do sum" or "do factorial", read it with the Scanner next(), then call the appropriate method in a switch.

Answers

Answer:

Explanation:

The following Java code creates both methods using a for loop. Asks the user for the value and choice of method within the main() and uses a switch statement to call the correct method.

import java.util.Scanner;

class Brainly {

   static Scanner in = new Scanner(System.in);

   public static void main(String[] args) {

      System.out.println("Enter a value: ");

      int userValue = in.nextInt();

      System.out.println("Enter a Choice: \ns = do Sum\nf = do Factorial");

      String choice = in.next();

      switch (choice.charAt(0)) {

          case 's': System.out.println("Sum of up to this number is: " + sum(userValue));

              break;

          case 'f': System.out.println("Factorial of up to this number is: " + factorial(userValue));

              break;

          default: System.out.println("Unavailable Choice");

      }

   }

   public static int sum(int userValue) {

       int sum = 0;

       for (int x = 1; x <= userValue; x++) {

           sum += x;

       }

       return sum;

   }

   public static int factorial(int userValue) {

       int factorial = 1;

       for (int x = 1; x <= userValue; x++) {

           factorial *= x;

       }

       return factorial;

   }

}

1) Create a method Sum to include a FOR loop. Get a scanner and input a number form the keyboard in main().
1) Create a method Sum to include a FOR loop. Get a scanner and input a number form the keyboard in main().
Other Questions
Help please thank you What is the value of x in the system of equations below?y - X=-36y- 4x = 8261013-53 round 18.194 to the ones place Compare three CRT businesses: a sporting goods store, a river rafting company, and a theme park. Discuss the possible ways of maximizing profits in each industry (Answer not less than 500 words)CRT = Commercial Recreation and Tourism Who is Aliaa Ismail? Question 1 options: Cairo Egyptologist working in The Valley of the Kings A tourist who got to work on an archaeology site in Cairo. A Cairo University student studying archaeology American Egyptologist working in The Valley of the Kings 70 Points+ Brainliest please Help! I tried to emulate them. I watched them, tried to do everything that they did, and failed utterly. The breaker swept past, and I was not on it. I tried again and again. I kicked twice as madly as they did, and failed. Half a dozen would be around. We would all leap on our boards in front of a good breaker. Away our feet would churn like the sternwheels of river steamboats, and away the little rascals would scoot while I remained in disgrace behind. Summarize the passage. Should heavy from tf2 be the next dlc character Construct the graph of the equation given by solving for the intercepts. Show all of the steps in finding theintercepts and then plot the intercepts to create the graph. Label the intercepts, as well as the asis on thegraphY=-1/4x-1 You put $400 in an account. The account earns $18 simple interest in 9 months. What is the annual interest rate?The annual interest rate is What is the topic of the poem? night walk how do hand tools,Farm implements and farm equipment differ from one another Find the point(s) at which the function f(x)=8-6x equals its average value on the interval [0,6). The function equals its average value at x = (Use a comma to separate answers as needed.) re: Question 1 (1 point) SavedHow did federalism respond to President Roosevelt's efforts to combat the GreatDepression? We want to evaluate dog owners reactions to a new dog food product formulation that contains more vegetables. A promotional booth is set up at 10 dog events around the country. We distribute a one-day sample of the new more-vegetable formula to dog owners who come by the booth. If dog owners also provide their e-mail, they will be emailed a 20% off coupon for their first purchase. We measure the effectiveness of the more-vegetable formula by the number of coupons that are used to make purchases in stores. This is an example of an experiment designed to assess a ______ asymmetrical causal relationship. if you could be any animal in the world what would it be QUESTION 9 The closing entry process consists of closing all asset and liability accounts. out the retained Earnings account all permanent accounts. all temporary accounts, QUESTION 10 The final closing entry to be journalized is typically the entry that closes the O revenue accounts Dividends account. Retained Earnings account expense accounts Which of the following actions can the government take to raise money?A. Sell stocks.B. Exchange currencies.C. Lower interest rates.D. Issue bonds. A rectangular garden has a length that is 3 feet longer than its width. Let w represent the width of the garden in feet. The entire garden is surrounded by a 2-foot-wide cement walkway. A bacteriophage initially associates with which bacterial structure? a. Bacterial ribosomes b. The cytoplasmic membrane c. The bacterial chromosome d. The bacterial cell wall 4n + 1= 25 how do I solve this and show my work?