1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
slamgirl [31]
3 years ago
14

Liệt kê các lỗi có trong chương

Computers and Technology
1 answer:
Masteriza [31]3 years ago
8 0

Answer:

pls mark my brainiest

Explanation:

Create an object of the File class

 Pass it the name of the file to read in quotes

 Then create an object of the Scanner class

 Pass the constructor the new File object

 Then use Scanner methods such as:

 next()

 nextLine()

 hasNextLine()

 hasNext()

 nextDouble()

 nextInt()...

File inputFile = new File("input.txt");

while (in.hasNextLine())

{

String line = in.nextLine();

// Process line;

}

Scanner in = new Scanner(inputFile);

Text File Output

 Create an object of the PrintWriter class

 Pass it the name of the file to write in quotes

• If output.txt exists, it will be emptied

• If output.txt does not exist, it will create an empty file

PrintWriter is an enhanced version of PrintStream

• System.out is a PrintStream object!

PrintWriter out = new PrintWriter("output.txt");

out.println("Hello, World!");

out.printf("Total: %8.2f\n", totalPrice);

System.out.println(“Hello World!”);

 Then use PrintWriter methods such as:

 print()

 println()

 p

You might be interested in
Convert Octal 623, to Decimal number ​
Levart [38]

Answer:

403_{10}

<em>Hope you got it </em>

<em>If you have  any question just ask me</em>

<em>If you think this is the best answer please mark me as brainliest</em>

8 0
3 years ago
Lab 6B: printing a binary number
r-ruslan [8.4K]

Answer:

In Python:

num = int(input("Enter a decimal integer: "))

temp = num

bin = ""

while num > 0:

   bin = str(num%2)+bin

   num//=2

print(str(temp)+" in binary is "+str(bin))

Explanation:

This prompts the user for a decimal number

num = int(input("Enter a decimal integer: "))

This assigns the input number to a temporary variable

temp = num

This initializes the binary output to an empty string

bin = ""

This loop is repeated while num is greater than 0

while num > 0:

This appends the remainder of num divided by 2 to the front of the binary variable bin

   bin = str(num%2)+bin

This calculates the floor division of num and 2

   num//=2

This prints the required output

print(str(temp)+" in binary is "+str(bin))

7 0
3 years ago
What are technology trends in science check all that apply
Doss [256]

Answer:

3D Printing Molecules.

Adaptive Assurance of Autonomous Systems.

Neuromorphic Computing (new types of hardware) and Biomimetic AI.

Limits of Quantum Computing: Decoherence and use of Machine Learning.

Ethically Trustworthy AI & Anonymous Analytics.

Explanation:

6 0
3 years ago
What view and zoom setting do you need for true WYSIWYG display? Why?
gayaneshka [121]
I'm not sure. Can you be more specific?
7 0
4 years ago
Verizon's implementation of a web-based digital dashboard to provide managers with real-time information such as customer compla
elena55 [62]

An example of  improved efficiency is Verizon's use of a Web-based digital dashboard to give management access to real-time data such as customer complaints.

<h3>What does the term " improved efficiency" mean?</h3>
  • Efficiency improvement refers to the improved value and/or quality that a company achieves as a result of changing a service or the manner in which a service is offered.
  • This improvement might be more expensive, but it is worth more in comparison.
  • Being effective in your daily operations can help you raise productivity, boost production output, and get rid of time-consuming administrative activities.
  • It might also imply that you don't need to rely as heavily on costly machinery, unreliable external suppliers, or even temporary workers.

To learn more about improved efficiency, refer to:

brainly.com/question/7690431

#SPJ4

5 0
2 years ago
Other questions:
  • Consider a classStudent. The following code is used to create objects and access its member functions. Which statement is true a
    6·1 answer
  • What are the Java counterpart to UML attributes.
    6·1 answer
  • If an individual column is listed in a SELECT clause, along with a group function, the column must also be included in a(n) ____
    12·1 answer
  • What would be the best thing you could do to prepare yourself to work for a company that has embraced globalization. A) learn ho
    12·2 answers
  • Write the Java code to simulate an inventory control system and a point of sale system with customer history On program start, e
    5·1 answer
  • Resumen sobres el correo electrónico​
    6·1 answer
  • Define- Emerging technology
    14·1 answer
  • Which answer below is NOT a function of a Data Scientist? O Data Exploitation O Data Strategies O Data Modeling O Data Preperati
    5·1 answer
  • why is it important for software manufacturers to update their programs to work with the latest operating systems? compuscholar
    8·1 answer
  • Wi-Fi Protected Access (WPA) fixes critical vulnerabilities in the earlier wired equivalent privacy (WEP) standard. Understandin
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!