Write a method called classAttendence() that creates a 10-by-10 two-dimensional array and asks for user input to populate it with strings of student names. The method should not return any values.

Answers

Answer 1

Answer:

The method written in Java is as follows:

public static void classAttendance(){

   Scanner input = new Scanner(System.in);

   String[][] names = new String[10][10];

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

    for(int j =0;j<10;j++){

       System.out.print("Student Name: "+(i+1)+" , "+(j+1)+": ");

       names[i][j] = input.nextLine();        

    }  

   }

}

Explanation:

This defines the classAttendance() method

public static void classAttendance(){

   Scanner input = new Scanner(System.in);

This declares the 2D array of 10 by 10 dimension as string

   String[][] names = new String[10][10];

This iterates through the rows of the array

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

This iterates through the columns of the array

    for(int j =0;j<10;j++){

This prompts user for student name

       System.out.print("Student Name: "+(i+1)+" , "+(j+1)+": ");

This gets the student name from the user

       names[i][j] = input.nextLine();        

    }  

   }

The method ends here

}

See attachment for complete program that include main method


Related Questions

list any three specification technology​

Answers

Answer:

descriptive, performance and detailed.

Bad Directions You are driving to your friend’s house and are using your smartphone for directions. While approaching your destination, you realize that your smartphone app instructed you to turn the wrong way on your friend’s street. How could this have happened?

Answers

This could have happened when:

Lack of Internet service or failureWrong application.What do you mean by Internet?

The Internet is seen as a form of a network that helps people to  connects their computers all over the nation.

In this age,  Through the help of the Internet, people are able to  share information and navigate through places.

Note that the problem of bad direction could have happened when:

Lack of Internet service or failureWrong application.

Learn more about Internet from

https://brainly.com/question/2780939

#SPJ1

A computer is experiencing network connectivity issues; what step would you NOT attempt to solve the problem?

Answers

Answer:

A step I wouldn't take is throwing the computer in the trash and lighting my house on fire.

Explanation:

why information systems were centralized and used solely with governance and management
during the First Era

Answers

The data will be given according to the supply and the processor was strong with governance and management

What is information systems?

Storage of data sets, interaction logs, documents, and modification histories can be done with the help of computer systems. The organization will spend a considerable amount of time hunting for certain data if the conventional remote backup is used.

Strategic planning is a governance strategy used by governments. The act of submitting, succumbing, or providing details is known as data compliance was used in the First Era.

Learn more about information systems, here:

https://brainly.com/question/13299592

#SPJ1

1. What is the difference between tools and equipment?

2. Describe the word paraphernalia.​

Answers

Answer:

down below

Explanation:

1- tools can be any item used to achieve a goal. an equipment is a specific tool used to achieve a specific object

2- it means article of equipment. equipment used for a particular activity.

hope this helps<3

Tools are used to fix things or help fix things and equipment is like for example I need equipment for my in home gym

Which of the following information
is required by application programs
to access the content ofa file.
a. File name
b. File location
c. File extension
d. File size

Answers

An information which is required by application programs to access the content of a file is: c. File extension.

What is a file?

A file can be defined as a computer resource or type of document that avails an end user the ability to save or record data as a single unit on a computer storage device.

In Computer technology, a sequence which best reflects the size of various files and their extension on a computer system, from smallest to largest include the following:

Text (.txt)Compressed files (.zip)Picture (.jpeg)Audio (.mp3)Video (.mp4)

In conclusion, we can reasonably infer and logically deduce that an information which is required by application programs to access the content of a file is file extension because an error would occur if there's an incompatibility issue between the two resource.

Read more on file extensions here: brainly.com/question/1982059

#SPJ1

Name this program lower.c - This program will read two strings and output which string has more lowercase letters. If both strings contain the same amount of lowercase letters, indicate the number of lowercase letters. Match the output according to the examples below. Assume each string will contain less than 50 characters.

Examples
Enter two strings:
Hello wORLD
'Hello' contains 3 more lowercase letter(s) than 'wORLD'.

Enter two strings:
HELLO WORLD
'HELLO' and 'WORLD' both contain 0 lowercase letter(s).

Enter two strings:
CRIMson! tide1
'tide1' contains 1 more lowercase letter(s) than 'CRIMson!'.

Answers

The program will be:

#include <stdio.h>

int lower_count(char s[]) {

   int count = 0, i;

   for (i = 0; s[i]; i++) {

       if (s[i] >= 'a' && s[i] <= 'z')

           ++count;

   }

   return count;

}

int main() {

   char str1[51], str2[51];

   int count1, count2;

   printf("Enter two strings:\n");

   scanf("%s", str1);

   scanf("%s", str2);

   count1 = lower_count(str1);

   count2 = lower_count(str2);

   if (count1 > count2) {

       printf("'%s' contains %d more lowercase letter(s) than '%s'.\n", str1, count1 - count2, str2);

   } else if (count1 < count2) {

       printf("'%s' contains %d more lowercase letter(s) than '%s'.\n", str2, count2 - count1, str1);

   } else {

       printf("'%s' and '%s' both contain %d lowercase letter(s).\n", str1, str2, count1);

   }

   return 0;

}

What is a program?

It should be noted that a series of instructions written in a programming language for a computer to follow is referred to as a computer program.

The software, which also contains documentation and other intangible components, comprises computer programs as one of its components. Source code is a computer program's human-readable form.

In this case, the program is shown above.

Learn more about program on:

https://brainly.com/question/26642771

#SPJ1

Write code to print values of integers x, y, and z in a single line such that each value is left-justified in 6 columns

Answers

The code to print given value can be x = int(input ("enter first number: ")) y = int(input ("enter second number: ")) z = int(input ("enter third number: ")) print('%6d %6d %6d' %(x,y,z)).

What is a code?

Print is a function in many programming languages that sends text, variables, or another object to the screen. If you're more familiar with the Scratch programming language, print is equivalent to say.

The print command is used to print a file without using a printing-capable Windows application.

We receive three integer variables (x,y,z) using the Python programming language, and the values are printed out using string formatting (%6), which specifies that the output should be right justified with a width of 6.

x = int(input ("enter first number: "))

y = int(input ("enter second number: "))

z = int(input ("enter third number: "))

print('%6d%6d%6d'%(x,y,z)).

Thus, this is the code to print given value.

For more details regarding a code, visit:

https://brainly.com/question/1603398

#SPJ1

Taking on a programming internship does not provide training and is of little value to an intern. True or False.

Answers

Answer:

the correct answer is False

Which of the following is NOT an e-reader you would use as an alternative to carrying around a set of textbooks?

Answers

Answer:

Which of the following is NOT a benefit of a word processing application?

Explanation:

How is the Agile way of working different?

Answers

Answer:

It is working within guidelines (of the task) but without boundaries (of how you achieve it).

The student's quiz grades are stored in the Python list quizzes. To calculate the student's quiz average we need to drop the 3 lowest scores and calculate the average of the remaining quizzes. The output is to be the average of the remaining quiz grades and the quiz grades that were dropped. Make use of the string formatting in section 3.7 to create the output.

Answers

The program that will compute the average quiz grade for 5 students is given below:

The Program

# This program will compute the average quiz grade for 5 students

print("Hello, this program is designed to compute the average quiz grades for the following students: Clark, Nicole, Kiran, Alex, and Erik")

students = ["Clark", "Nicole", "Kiran", "Alex", "Erik"]

grades = []  # create an empty list to store the grades in

for student in students:

   print(student, ", What was your quiz grade?")

   grade = input("My grade is: ")

   grades.append(int(grade))  # convert the grade to an integer number, then add it to the list

print("Here are the grades you entered: ", grades)

average = sum(grades) / len(grades)

print("The average is:", average)

highest = max(grades)

print("The highest grade is:", highest)

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

What does the office background allow you to do?

Answers

Answer: Any changes that you make to the Office Background in PowerPoint 365 will be reflected in all other Microsoft Office 365 products on your computer, such as Word, Excel, Outlook, and others. These patterned strips are not activated by default.

what is paragraph indentation

Answers

Answer:

a blank space between a margin and the beginning of a line of text

Explanation:

The space before start start of your paragraph. Ex:what I did with the first sentence

Which of the following commands will visualise the running processes?

Select one:
a. Get-Process
b. Get-RunningProcesses
c. Show-Process

Answers

Answer:

A

Explanation:

The PS command displays your currently running processes in real-time. This will display the process for the current shell with four columns: PID returns the unique process ID.

A

It shows your current running instant in real-time

Which of the following makes the varied types of digital communication possible?


an agreed-upon set of rules and standards governing the way technology shares and manages data


properly linking all of the workstations on a closed loop-like configuration


refraining from relying too heavily on one central hub that connects all nodes on a system


only using a high-quality server computer with lots of memory

Answers

Answer:

An agreed-upon set of rules and standards governing the way technology shares and manages data

The Internet is the largest example of a _____?

Answers

Answer:

the answer is wide area network

You do not need to cite anything used from creative commons.
True or False?

Answers

True. It is not necessary to cite information that is common knowledge. One of the ways to judge if something is common knowledge is to ask yourself if anyone in the field would know this information or if no one would argue against it.

Answer: False

Explanation: Creative commons is when a person uploads their own copyrighted content and gets license for it, so it other people online may add to it or alter it and re-share it. They get to decide how you get to use and what you are allowed to do with but no matter the situation you always have to give credit to the original content creator. Thus, false, you NEED to cite anything used from Creative Commons.

Rank the following storage systems from slowest to fastest:
a. Hard-disk drives
b. Registers
c. Optical disk
d. Main memory
e. Nonvolatile memory
f. Magnetic tapes
g. Cache

Answers

Answer:

Slower = Larger capacity (and vice versa)

Ranked from Slowest to Fastest:

1. magnetic tapes

2. optical disk

3. hard-disk drives

4. nonvolatile memory

5. main memory

6. cache

7. registers

Your team has been assigned responsibility to identify an appropriate MSSP provider for a small, rural hospital. What criteria will you use to select an appropriate provider? Do research online to identify three MSSP providers. Use the criteria you established to rate each of the three, and choose the one that would be best for the hospital.

Answers

The Criteria for Choosing the Right MSSP for for a small, rural hospital are:

Customized solution. UX – User experience. Responsiveness. Cost-effective.

What are the three MSSP providers?

They are:

1) Cipher.

2) SecurityHQ.

3) SecureWorks.

The option that is chosen among the three is Cipher. It is known to be chosen because they provide the services listed above which is needed by the hospital as well as:

Cybersecurity MonitoringIncident Management and Cyber Defense Security Asset Management, etc.

Therefore, based on the above. The Criteria for Choosing the Right MSSP for for a small, rural hospital are:

Customized solution. UX – User experience. Responsiveness. Cost-effective.

Learn more about Cipher from

https://brainly.com/question/14754515
#SPJ1

write a complete main that will input a decimal number, double it and display the results

Answers

Answer:

No sure what language you want but since I am best with Java.

class Main {

 public static void main(String[] args) {

   Scanner input = new Scanner(System.in);  // Create a Scanner object

   System.out.println("Enter Number");

double number01 = input.nextLine();  // Read user input

double multi = number01 * 2;

   System.out.println("Number is " + multi);  // Output user input

}

}

Explanation:

Carlos is having trouble with his device. It keeps freezing on him and he does not know what to do. What is the first step he should take when troubleshooting this problem?

A.
sell the computer

B.
check for power issues

C.
restart his device

D.
verify network connectivity

Answers

c restart his device

Explanation:

it is freezing and the most logical reason is c restart his device

Raw images can be processed again at a later date when new and improved software become available.
Group of answer choices

True

False

Answers

Answer:

True

Explanation:

HELP PLEASE
Which type of error occurred in the following lines of code?

>>> print(9 / 0)
Traceback (most recent call last):
File " ", line 1, in
9/0
ZeroDivisionError: division by zero

logical error
logical error

exception
exception

syntax error
syntax error

reserved word error
reserved word error

Answers

Answer:

Logical Error

Explanation:

The division by 0 is a logical error.

How many input configurations does the Boolean expression (x AND Y) OR (NOT x
AND NOT y) have?
4
6
8
10
CAN SOMEONE PLSEASEEE HELP ME

Answers

Answer:

4

Explanation:

There are only 2 inputs, X and Y, and the number of different input configurations will be 2-to-the-power-of the number of inputs.

2² = 4

In other words, XY can be 00,01,10 or 11 and that's it. Four combinations.

BTW, (x AND Y) OR (NOT x AND NOT y) is allso called XNOR. See picture.

Do some research and find out whether Babbage’s Analytical Engine is a computer according to the von Neumann model.

Answers

Answer: The Analytical Engine incorporated an arithmetic logic unit, control flow in the form of conditional branching and loops, and integrated memory, making it the first design for a general-purpose computer that could be described in modern terms as Turing-complete.

You join Mountain Water Co – an expanding bottled water company as an information security officer. The company wants to do a lot of advertising of its bottled water products through its website. The CEO asks you to review the company website and report if it is secure. After talking to the webmaster you find out the following:


The Web server accepts all connections


No authentication is required

Self-registration is allowed

The web server is connected to the Internet

Is the situation secure? Select all that apply.


a.

Yes. There is no threat to a bottled water company so it is secure.


b.

There is insufficient information available to answer this question.


c.

No. Anything that is connected to the Internet is insecure.


d.

No. The system is allowing everyone to register. Only individuals who are associated with the company should be able to register.


e.

No. If there is no authentication, then anyone with access to the website online can access it. For good security only individuals with certain authorized roles should access a website.

Answers

In regards to the above case, My response is c. No. Anything that is connected to the Internet is insecure.

What is meant by computer security?

Computer security is known to be a term that can be called cybersecurity. This is seen as a form of  protection of computer systems as well as information from any kind of harm, theft, as well as any form of unauthorized use.

Note that Computer hardware is seen to be protected by the same ways or methods that one uses to protect other valuable things.

In the above, there is no method of authentication and as such, In regards to the above case, My response is c. No. Anything that is connected to the Internet is insecure.

Learn more about Computer security from

https://brainly.com/question/25720881

#SPJ1

SOMEONE PLEASEE *URGENT**

Sequencing and Flowcharting
Try writing out the sequence of events for one of the simple instructive processes below:

1. Drawing a square on a piece of 8 x 11 paper.
2. Moving from your 2nd-period class to your 3rd-period class.
3. Adding a new contact to your list of cell phone contacts.

Now, create a flowchart that outlines how to complete your chosen sequence of events. You may wish to reference these common flowchart symbols as you work.

Submit
1) In the text box: Your sequence of events written out.

2) A file image of your flowchart outlining that sequence of events.

Answers

hope this helps!!!!!

Advantages and Disadvantages of Modern Devices​

Answers

Answer:

Advantages of Technology:

Easy access to information

Improved Communication

The convenience of travelling

Convenience in Education

Improved entertainment

Disadvantages of technology

Excessive dependency

Inevitable Cheating

Laziness and forgetting the basic way of studying

I want to know if C# can be used to solve questions here as well.

Answers

What exactly is the question that you’re asking what is C #?
Other Questions
How was colonial rule a threat to southeast Asian culture Whats The Answer Marking Brainliest, Please explain your answer:D............ 1) What did you notice about the letter e when you increased in magnification from the 4x to the 10x and then to the 40x: a) Did the size (magnification) increase or decrease? b) Could you see more of the entire letter or less?(Subject science) A block of pine wood, 4.0cm on each side, has a mass of 27g. What is the density of this block? 8. Two streets intersect at a traffic light, forming vertical angles. If themeasure of one of the angles formed by the intersecting streets is 78,what are the measures of the other three angles? Draw and label apicture of the scenario. Show your work for how you found the missingangles. (3 points) state the responsibility of the government and its citizens uae Which equation represents a function that is nonlinear?y=5x y=37 y=x2-25 y=2/3x+67 Say you own an asset that had a total return last year of 17 percent. assume the inflation rate last year was 3.6 percent . what was your real return? The picture shows soil that has become compacted.What is the most likely direct result when soil becomes compacted by humanuse?A. Increased pollutionB. Increased permeabilityc. Decreased humusD. Decreased porosity What was Charles m Schultz known for I need help with the question in the photo!! A coin is tossed and the spinner is spun, One possible outcome is H3(heads, 3). What is the sample space of this experiment? Use the periodic table to choose the element that matches each description.halogen: group IIA: nonreactive: alkali metal: Help!!!Which statement correctly defines the purpose of imagery in a poem?AImagery makes a poem entertaining and comical for the reader.BImagery helps the reader create a mental picture of what's happening in the poem.CImagery helps the poet inform the reader of important factsDImagery persuades the reader of a certain controversial viewpoint. Which of the following was the primary reason that the US did notannex Texas in 1837?*Annexation would likely lead to a war with MexicoThe United States did not recognize the independence of the Republic of Texas.Annexation would raise problems with slave holders in the United States.O The United States had laws forbidding any slave states to be admitteddescribes which of the following dates in Texas history: 7 ponts How does the plasma membrane maintain homeostasis? pls help (need 20 letters lol) estimate how long it would take one person to mow a football field using an ordinary home lawn mower. suppose that the mower moves with a 1- km/h speed, has a 0.5- m width, and a field is 360 ft long and 160 ft wide. 1 m Solve for v.28-3v=4vSimplify your answer as much as possibleV = find the zeros of the function: to the nearest hundredth