Discuss types of indentation​

Answers

Answer 1
There are three types of indents:
Before text indent: This is also called the left indent. ...
After text indent: This is also called the right indent. ...
First line indent: This option is used to specify indent values for the first line of the document.

Related Questions

Write a program that asks the user for the name of a file. The program should display only the first five lines of the file's contenents if the file contains less than five lines, it should display the files's entire contenents

Answers

To write a program that asks the user for the name of a file, we will use the readline() method of our file object, and using a for loop, we'll repeat the readline() five times.

The structure of the program and it's programming:

We will use readline() method of our file object( here it has been taken as file_obj).

Using a for loop we'll repeat the readline() five times.

If the file has less than five lines and we try to keep reading after the read position has gotten to the last character in the file, the readline() function will just return the empty string " ".

So nothing will be displayed. We need set end=' ' in our print() function to ensure that we don't get a bunch of extra new lines.

Don't forget to close the file after you're done with it.

# Getting file name from the user filename = input('Enter the filename :')  

# Opening the file in read mode file_obj = open(filename, 'r');  

# Reading and displaying the file's first five lines for i in range(5):     print(file_obj.readline(), end = '')

# Reads a single line at a time and displays it   # Closing the file file_obj.close()

To know more about programming, visit: https://brainly.com/question/16936315

#SPJ1

Highlight the two complex sentences in the text below. Are Smart Watches Worth it? Smart watches have been around for a while now, but I’ve avoided buying one. I was never convinced having one offered any great improvements on simply owning a phone. As far as I was concerned, they would never be able to replace a phone. But were they even supposed to? After speaking to a friend who swears by his smart watch, I decided to give one a go. What did I find? It was more useful than I first anticipated. Or maybe the right word is interesting?

Answers

The two complex sentences which are highlighted are as follows:

Smartwatches have been around for a while now, but I’ve avoided buying them.After speaking to a friend who swears by his smartwatch, I decided to give one a go.

What do you mean by a Complex sentence?

A complex sentence may be defined as a type of sentence that significantly consists of one independent clause and at least one dependent clause. These types of sentences best work if you need to provide more information to explain or modify your sentence's main point.

In the above two sentences, there is one independent clause and at least one dependent clause. Both clauses are joined by the usage of numerous punctuation marks like colon, semi-colon, comma, etc.

Therefore, the two complex sentences which are highlighted are well described above.

To learn more about Complex sentences, refer to the link:

https://brainly.com/question/14908789

#SPJ1

identify and explain 3 methods of automatically formatting documents

Answers

Answer:

The 3 methods used in Microsoft word to auto format are; Margin Justification, Tabular Justification, Paragraph Justification

What is formatting in Microsoft Word?

In Microsoft word, there are different ways of formatting a text and they are;

Margin justification; This is a type of formatting where all the selected text are aligned to either the left or right margin as you go to a new page as dictated by the user.

Paragraph justification; This a type of auto formatting where paragraphs are not split as they go to a new page but simply continue from where they left off.

Tabular justification; This is a type that the text is indented or aligned at a 'tab stop' to possibly show a paragraph.

Read more about Formatting in Microsoft Word at: brainly.com/question/25813601

These statements describe saving presentations.

Name your file in a way enables you to find it later.
Click on an icon to save.
It is a good idea to save often.
Select the Save option in the File menu to save.
Save by selecting the Save option in the Tools menu.
Saving once is enough.

[ DO NOT REPLY FOR POINTS YOU WILL BE REPORTED ]
(multiple choice) (edgenuitу)

Answers

Answer: answer 4 and 5

Explanation:

to save something on a device option 4 and 5 is the best fit for this

Which two features are most important for Virtual Reality to provide a smooth and enjoyable experience for the user?

Answers

Immersion and Interaction are the two most important features of virtual reality.

What is Immersion?

Immersion, also known as presence, refers to the degree of reality in which the viewer exists as the protagonist in the virtual environment. By wearing interactive devices such as helmet-mounted displays and data gloves, viewers can immerse themselves in a virtual environment and become a part of it.

What is Interaction?

Interaction refers to the user's ability to manipulate objects in the simulated environment as well as the natural degree of feedback from the real world. Human-computer interaction in VR technology is similar to natural interaction. There are two kinds of interactions: three-degree-of-freedom (3DoF) interactions and six-degree-of-freedom (6DoF) interactions.

What is Virtual reality (VR)?

Virtual reality (VR) is a simulated experience that uses pose tracking and 3D near-eye displays to immerse the user in a virtual world. A computer-generated simulation of a three-dimensional image or environment that can be interacted with in a seemingly real or physical way by a person wearing special electronic equipment, such as a helmet with a screen inside or gloves with sensors

To know more about Virtual Reality (VR), Kindly visit: https://brainly.com/question/13269501

#SPJ1

highlight the function of the system sofyware in the computer system​

Answers

System software manages the computer itself. It runs in the background, maintaining the basic functions of the computer so that users can run higher-level application software to perform specific tasks. Essentially, system software serves as a foundation for application software to run on.

What is a System software?

System software is the most important type of software required to manage the computer system's resources.

Internally, system software runs and interacts with application software and hardware. Furthermore, it serves as a link between a hardware device and the end user.

System software runs in the background and manages all aspects of the computer's operation. Low-Level Software is so named because it runs at the most basic level of a computer and is usually written in a low-level language. When we install the operating system on one device, it is automatically installed on another.

System software contributes to the creation of the user interface and allows the operating system to communicate with the computer hardware in a computer system​.

To learn more about System software, visit: https://brainly.com/question/13738259

#SPJ9

Below you can see stringSize, which is implemented in Java

Answers

Answer:

(a): Yes, it is logically correct as the code does a loop through the all characters of the string and outputs the total amount of them within the string.

(b): It is poorly designed because it is not the most efficient way to get the size of the string. There is a much better way in obtaining it through s.length() and it also accounts for spaces as characters as well.

Explanation:

Hello! Let's help you with your question here!

Now, it is split up into two parts so I will explain them both as such.

Part A:

For this part of the question. Yes, it would be logically correct. When the size is returned, it will return the number of characters in s. Let's break down the code step by step:

Code Rundown:int size = 0; (Initializing a size variable of type int and setting it to 0)for (int i = 0; i < s.length(); i++): We create what is known as an index i and have it loop until it reaches the length of the string (This is where we loop through the characters).size++; (For every loop, it'll just add 1 to size, essentially making it a counter).return size; (This returns the number within size after the loop is finished.)

As you can see from the rundown, it initializes a counter and loops through each character of the string and increases the counter as it goes. So for this part, it is logically correct as it does give us the total amount of characters within a string which is considered the string size.

Part B:

It is poorly designed under two reasons, one is more important than the other as the second one isn't really a requirement, it's just quality of life.

Reason 1 (The Important One):

The main reason why this is poorly designed is that it is not optimized. What it does here is going through the entire string and adds 1 to the counter every time there is a character. However, s.length() achieves the same thing. Instead of creating a counter and having it loop through the entire string and adding 1 to the counter for every character and then returning the counter. s.length() is a method that returns the length of a specified string. In this case, it returns the size of the string. To put it simply, the code in the example can be simplified to just:

private static int stringSize(String s) {

      return s.length();

}

This would still give us the same result as the example without having to go through a loop. In programming and algorithms, we learn about time complexity. To put it simply, it is the time it takes for the program to complete. The faster it does without any errors, the more efficient and optimal it becomes. For the code example above, we have time complexity O(n). What this means is that the program needs to run through a loop (multiple checks) before finishing the code, this is the second fastest time. However, with the code I showed you above, it has a time complexity of O(1). For this code, it doesn't need to run any checks, it can just finish the code immediately. Therefore, the code in the example is not efficient.

Reason 2 (Quality of Life One):

While the code does work well and does give you an accurate total size of the string every time, it however accounts for spaces as well. If you were to have a space in your string, it would bump the counter up as in Java, as spaces are considered a character because of this you won't get an accurate string size count if you want letters and symbols only. A way to improve it is to create a check within the loop that tells us if the character we are looking at, in the index, is a space or not. If it is a space, we subtract the size counter by 1 and move on. So the modified code would look like this:

public static int stringSize(String s) {

      int size = 0;

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

            size++;

            char c = s.charAt(i);

            if (c == ' ') {

                 size--;

            }

      }

      return size;

}

Explanation:

In the code, I am still adding 1 to the size counter still. However, in the bold. I create a variable c of type char and take the character of the string where the index is currently and use an if statement to determine if it is a space or not. If it is not, then the code repeats until the loop is done and then returns the size of the string. However, if it is a space, it'll subtract 1 from the size counter and will loop through the entire string doing this check and then returns the size of the string when it is done.

Learn more about time complexity at https://brainly.com/question/28018274

List questions you would be asking to software developers about the form.
List potential risks if there are any with the form.

Answers

A a aa a a a a a a a a a a a a a a aa a a aa a .

Write a simple computer program that asks a user to input their name and email address, and then displays a message that tells the person that you will be contacting them using the email address they entered.

Answers

name = input("Enter your name: ")

email = input("Enter you e-mail: ")

print("Hi",name,"we can contact you via your e-mail address which is",email)

How many subnets and host per subnet are available from network 192.168.43.0 255.255.255.224?

Answers

It should be noted that the number of subnets and hosts available from network 192.168.43.0 255.255.255.224 is 8 and 32, respectively. Only 30 of the 32 hosts are generally functional.

What is a host in computer networking?

A network host is a computer or other device that is connected to a computer network. A host can serve as a server, supplying network users and other hosts with information resources, services, and applications. Each host is given at least one network address.

A computer network is a group of computers that share resources on or provided by network nodes. To communicate with one another, computers use common communication protocols over digital links.

So, in respect to the above response, bear in mind that we may compute the total number of: by putting the information into an online IPv4 subnet calculator.

8 subnets; and30 hosts available for 192.168.43.0 (IP Address) and 255.255.255.224 (Subnet)

Learn more about hosts:

https://brainly.com/question/14258036

#SPJ1

What does Power Query use to change to what it determines is the appropriate data type?

Answers

Answer:

Power Query reads the table schema from the data source and automatically displays the data by using the correct data type for each column. Unstructured sources Examples include Excel, CSV, and text files. Power Query automatically detects data types by inspecting the values in the table.

The Power Query is used in Excel. It is used to transfer data from other data sources like text, web or other workbooks.

What is a power query?

Power Query extracts the table schema from the data source and uses the appropriate data type for each column to automatically display the data. unorganized sources Excel, CSV, and text files are a few examples. By looking at the values in the table, Power Query automatically determines the data types.

Power Query automatically adds two phases to your query when this setting is enabled: Encourage column headings: increases the prominence of the table's first row as the column header. Changed type: Examines the values from each column before changing the data types of the Any data type values.

Therefore, Excel makes advantage of the Power Query. Data from other data sources, including text, the web, and other workbooks, are transferred using it.

To learn more about power query, refer to the link:

https://brainly.com/question/29756007

#SPJ2

Given an array of distinct positive integers. Which of the following can be used to find the longest consecutive sub-sequence of integers? (Note that the consecutive numbers need not be sorted.)
For example, if the given array is [1 , 7, 3, 2, 8], the longest consecutive subsequence is [1 , 3, 2] as 1 , 2,3 are consecutive integers.

Answers

A Naive approach can be used to find the longest consecutive sub-sequence of integers.

What do you mean by Integers?

Integers may be defined as whole numbers that can be positive, negative, or zero. It does not include any functional number or the numbers in the form of p/q. Examples of integers may include -5, 1, 5, 8, 97, etc.

The idea for finding the longest consecutive sub-sequence of integers is to sort or filter the array and find the longest subarray with consecutive elements. After sorting the array and eliminating the multiple occurrences of elements, run a loop and keep a count and max.

Therefore, a Naive approach can be used to find the longest consecutive sub-sequence of integers.

To learn more about Integers, refer to the link:

https://brainly.com/question/929808

#SPJ1

Write an SQL statement to display for every restaurant the name of the restaurant (where the name of the restaurant consists of more than 10 characters) and for every category of menu item its description (catdesc). Furthermore, display the average; cheapest or lowest; and highest or most expensive price of all menu items in that category at that restaurant. Use single row functions to format all the prices. The average price must be padded; the cheapest price must be rounded; but the highest price must not be rounded. Display only those menu items of which the average item price is more than R40. Sort your results according to the restaurant names and for every restaurant from the most expensive average menu item to the cheapest average menu item. Display your results exactly as listed below.

Answers

Using the knowledge in computational language in SQL it is possible to write the code that display for every restaurant the name of the restaurant  and for every category of menu item its description.

Writting the code:

INSERT INTO Dish Values(13, 'Spring Rolls', 'ap');

INSERT INTO Dish Values(15, 'Pad Thai', 'en');

INSERT INTO Dish Values(16, 'Pot Stickers', 'ap');    

INSERT INTO Dish Values(22, 'Masaman Curry', 'en');  

INSERT INTO Dish Values(10, 'Custard', 'ds');  

INSERT INTO Dish Values(12, 'Garlic Bread', 'ap');    

INSERT INTO Dish Values(44, 'Salad', 'ap');    

INSERT INTO Dish Values(07, 'Cheese Pizza', 'en');  

INSERT INTO Dish Values(19, 'Pepperoni Pizza', 'en');    

INSERT INTO Dish Values(77, 'Veggie Supreme Pizza', 'en');

INSERT INTO MenuItem Values(0, 0, 13, 8.00);

INSERT INTO MenuItem Values(1, 0, 16, 9.00);

INSERT INTO MenuItem Values(2, 0, 44, 10.00);

INSERT INTO MenuItem Values(3, 0, 15, 19.00);

INSERT INTO MenuItem Values(4, 0, 22, 19.00);

INSERT INTO MenuItem Values(5, 3, 44, 6.25);

INSERT INTO MenuItem Values(6, 3, 12, 5.50);

INSERT INTO MenuItem Values(7, 3, 07, 12.50);

INSERT INTO MenuItem Values(8, 3, 19, 13.50);

INSERT INTO MenuItem Values(9, 5, 13, 6.00);

INSERT INTO MenuItem Values(10, 5, 15, 15.00);

INSERT INTO MenuItem Values(11, 5, 22, 14.00);

See more about SQL atbrainly.com/question/13068613

#SPJ1

Networks can use protocols and apply them to (____) and (____) to allow information to be passed from one machine to another in a common format.

Answers

Networks can use protocols and apply them to (formatting) and (processing) to allow information to be passed from one machine to another in a common format.

What are protocols and why do we need them?

A common language for computers would be network protocols. Although the software and hardware used by the computers in a network may be very dissimilar, the use of protocols allows them to communicate with one another.

Therefore, Data, network, transport, and application layers are just a few of the many protocols that make up the Transmission Control Protocol/Internet Protocol (TCP/IP) suite and thus, A protocol is a common set of guidelines for formatting and processing data in networking. Computers can talk to one another thanks to protocols.

Learn more about Networks from

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

Meaning of learning application software, meaning of Achitertoral /Engineering application software , meaning of Entertainment application software​

Answers

Computer software is referred as a  programming code executed on a computer processor.  It can be machine-level code or written code  for an operating system.

Meaning of given terms:

Learning application software: It can help you in gaining new skills, provide you with proper instructions and even make you continuously learn in different criteria and subjects.

It makes the study more easy , quicker as well as provide continuous assessment to children.

It include Moodle, Blackboard learn etc

Architectural software : It can help in designing, visualizing various formats of given work. From planning homes, to mansions it can provide and turn vision into reality.

It includes AUTOCAD, Sketchup

Entertainment Software: It provides amusement and opportunities for leisure activities. It help in relaxing, enjoying and escaping from the different situations.

It includes Netflix, amazon and Kodi.

Therefore every term has been described.

To learn more about Software from the given link

https://brainly.com/question/24970491

#SPJ13

C++ Perform the task specified by each of the following statements:

a) Write the function header for function zero that takes a long integer array parameter bigIntegers and does not return a value.

b) Write the function prototype for the function in part (a).

c) Write the function header for the function add1AndSum that takes an integer array parameter oneTooSmall and returns an integer.

d) Write the function prototype for the function described in part (c).

Answers

Using the knowledge in computational language in C++ it is possible to write the code that write the function header for function zero that takes a long integer array parameter bigIntegers and does not return a value.

Writting the code:

a) void zero (long bigIntegers[], int size) //function header

{

//Body of function

}

b) void zero (long [], int); //function prototype

c) int add1AndSum (int oneTooSmall[], int size)//function header

{

//Body of function

}

d) int add1AndSum (int [], int); //function prototype

See more about C++ at brainly.com/question/29225072

#SPJ1

Format a paragraph border

Answers

The way that you can format a paragraph border  is by:

Pick a phrase, sentence, or paragraph. Click the arrow next to the Borders button on the Home tab. Select the border style you want to use by clicking it in the Borders gallery.

What is a paragraph border?

To format, this can also be done by:

Select the border style you want to use by clicking it in the Borders gallery. The page margins are not the same as these margins. To distinguish a document title or header, paragraph borders are frequently used.When several paragraphs are chosen, the border is applied to them all at once.

Therefore, Press Format. Select the line style you want to use for the border by clicking it in the Style box under Line on the Border tab. Choose the color you want to use from the Color box. To construct the border you want to use, click the border buttons under Border.

Learn more about paragraph from

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

See full question below

How do you format a paragraph border

this is for a SQL server class:

Database level permissions apply to a specific database. Assigning permissions at this level is inefficient when dealing with ____

a. users with no permissions
b. large user groups
c. all of the above

Answers

Assigning permissions at this level is inefficient when dealing with large user groups. The correct option is b.

What is database-level permission?

Permissions are the many sorts of access that are granted to specific securable. At the server level, permissions are assigned to SQL Server logins and server roles. At the database level, they are assigned to database users and database roles.

Read, write, and execute are the three types of permissions that files and directories can have. Anyone with reading permission can view the contents of a file or directory.

Therefore, the correct option is b. large user groups.

To learn more about database-level permission, refer to the link:

https://brainly.com/question/13108159

#SPJ1

What is a defining feature of the Metaverse?

Answers

Virtual reality (VR), augmented reality (AR), AI, social media, and digital currency are the defining features of Metaverse.

What Is A Defining Feature Of The Metaverse?

The Metaverse has a wide range of distinct characteristics. Rather than leaving the comfort of your own home, you can interact with other people in the same way you would in the real world. It's a fascinating and entertaining experience.

Perhaps the most significant advantage of the Metaverse is that anyone, no matter where they are, can use a physical device such as a smartphone or computer to connect to and interact with Virtual Worlds. It may provide solutions to a wide range of global issues by providing an interactive digital mingling and management experience that may be useful in remote working, medical, internet browsing, and much more.

The Metaverse is also distinguished by the fact that it is a virtual world in which users can interact in real time. It is a 3D representation of the internet in which users can create their own avatars, visit virtual spaces, and engage in a variety of activities. The Metaverse has its own economy, with users earning and spending virtual currency.

Furthermore, Metaverse is constantly evolving and expanding, adding new features and content on a regular basis. The Metaverse is likely to become more immersive and realistic as more people join it, blurring the line between the virtual and real worlds.

To know more about the Metaverse, visit: https://brainly.com/question/28949928

#SPJ1

There are a number of security risks associated with using the Internet. Name three of these risks For each, state why it is a risk and describe how the risk can be minimized. Security risk 1........ [1] Why it is a risk......... How to minimise the risk.......... [1​

Answers

The three risks was  computer virus , spyware and phishing.

How we can minimize risk?

Protecting the organisation from an expanding range of threats such as... hardware and software failure - such as power loss or data corruption - includes securing corporate systems, networks, and data as well as ensuring availability of systems and services, planning for disaster recovery and business continuity, complying with government regulations and license agreements, and managing risk.

Malicious software intended to obstruct computer operations is known as malware. Machine code known as viruses can replicate and move from one computer to another, frequently causing disruptions in computer operations.

Never leave anything unattended in an open location, a shared residence, or somewhere that could be seen by trespassers. Use physical locks or carry them around with you. Carry your laptop and other electronics in a discrete protective bag or case.

To learn more about malware refer to:

https://brainly.com/question/399317

#SPJ9

Identify the correct statements. Select ALL that apply.

Question options:
1. Functions can be called inside other functions.
2. You can make your own custom modules.
3. When a function is called, the item(s) inside the parentheses are called arguments.
4. Global variables should be used in large programs.
5. A variable declared inside main is inaccessible inside custom functions

Answers

Answer: 1,  2, 3, 5

Explanation:

in python, you can make custom modules

Functions, modules parentheses, and variables are correct. Thus, option 1, 2, 3, and 5 is correct.

What are Functions?

When anything is said to be functional, it's talking about how well it works generally. A chunk of code called a function carries out a certain duty. It can be used repeatedly and summoned. A function can receive information from you and return data as a return. You will use built-in functions within the libraries of many programming languages, nevertheless, you can additionally create your very own functions.

Actions can call any function inside of them. One could develop your own unique modules. The item(s) included in brackets are referred to as parameters when a function is invoked. In the customized function wherever the formula is utilized, a variable defined in main is unreachable.

Learn more about Functions, here:

https://brainly.com/question/21145944

#SPJ2

How do I get this thing in the right order, including the indentation?

Answers

Answer:

Explanation:

weird

*IN JAVA*

Write a program whose inputs are four integers, and whose outputs are the maximum and the minimum of the four values.

Ex: If the input is:

12 18 4 9
the output is:

Maximum is 18
Minimum is 4
The program must define and call the following two methods. Define a method named maxNumber that takes four integer parameters and returns an integer representing the maximum of the four integers. Define a method named minNumber that takes four integer parameters and returns an integer representing the minimum of the four integers.
public static int maxNumber(int num1, int num2, int num3, int num4)
public static int minNumber(int num1, int num2, int num3, int num4)

import java.util.Scanner;

public class LabProgram {

/* Define your method here */

public static void main(String[] args) {
/* Type your code here. */
}
}

Answers

The program whose inputs are four integers is illustrated:

#include <iostream>

using namespace std;

int MaxNumber(int a,int b,int c,int d){

int max=a;

if (b > max) {

max = b;}

if(c>max){

max=c;

}

if(d>max){

max=d;

}

return max;

}

int MinNumber(int a,int b,int c,int d){

int min=a;

if(b<min){

min=b;

}

if(c<min){

min=c;

}

if(d<min){

min=d;

}

return min;

}

int main(void){

int a,b,c,d;

cin>>a>>b>>c>>d;

cout<<"Maximum is "<<MaxNumber(a,b,c,d)<<endl;

cout<<"Minimum is "<<MinNumber(a,b,c,d)<<endl;

}

What is Java?

Java is a general-purpose, category, object-oriented programming language with low implementation dependencies.

Java is a popular object-oriented programming language and software platform that powers billions of devices such as notebook computers, mobile devices, gaming consoles, medical devices, and many more. Java's rules and syntax are based on the C and C++ programming languages.

Learn more about program on:

https://brainly.com/question/26642771

#SPJ1

Every workplace should have an emergency plan of action.


Please select the best answer from the choices provided

T
F

Answers

It is true that every workplace should have an emergency action plan.

What is an emergency action plan (EAP)?

A written document required by specific OSHA standards is an emergency action plan (EAP). [29 CFR 1910.38(a)] An EAP's purpose is to facilitate and organize employer and employee actions in the event of a workplace emergency.

During an emergency, well-developed emergency plans and proper employee training (so that employees understand their roles and responsibilities within the plan) will result in fewer and less severe employee injuries and less structural damage to the facility.

A poorly prepared plan will almost certainly result in a disorganized evacuation or emergency response, causing confusion, injury, and property damage.

So, the correct answer to the question is True (T).

To know more about the emergency action plan, visit: https://brainly.com/question/3238467

#SPJ1

HELP
When communicating online, it is important to understand there is no vocal tone or body language, as there is in face-to-face conversation. What are some things you can do when communicating online to maintain appropriate netiquette? Use details to support your answer.

Answers

When communicating online, it is important to understand there is no vocal tone or body language, as there is in face-to-face conversation. What are some things you can do when communicating online to maintain appropriate netiquette? Use details to support your answer.

Some starter ideas to get you going:

Avoid the use of slang and profanity.

This signals a lack of respect and professionalism.

Avoid using all caps when composing the message.

This comes across as yelling and is inappropriate for business communication.

Ask for clarification and repeat back the message to ensure the understood message was the intended message.

Do not make assumptions when information is vague. For example:

Mary: Send me the report by 4 tomorrow.

John: Just to clarify, do you mean 4 PM tomorrow?

Avoid the use of jargon or idioms if communicating with a person from a different culture.

This will increase confusion in a conversation.

Answer:

Avoid the use of slang and profanity.

This signals a lack of respect and professionalism.

Avoid using all caps when composing the message.

This comes across as yelling and is inappropriate for business communication.

Ask for clarification and repeat back the message to ensure the understood message was the intended message.

Explanation:

Many documents use a specific format for a person's name. Write a program that reads a person's name in the following format:

firstName middleName lastName (in one line)

and outputs the person's name in the following format:

lastName, firstInitial.middleInitial.

Ex: If the input is:

Answers

Using the knowledge in computational language in JAVA it is possible to write the code that write a program whose input is: firstName middleName lastName, and whose output is: lastName, firstName middleInitial.

Writting the code:

import java.util.Scanner;

import java.lang.*;

public class LabProgram{

public static void main(String[] args) {

String name;

String lastName="";

String firstName="";

char firstInitial=' ',middleInitial=' ';

int counter = 0;

Scanner input = new Scanner(System.in);

name = input.nextLine(); //read full name with spaces

int i;

for(i = name.length()-1;i>=0;i--){

if(name.charAt(i)==' '){

lastName = name.substring(i+1,name.length()); // find last name

break;

}

}

for(i = 0;i<name.length()-1;i++){

if(name.charAt(i)==' '){

firstName = name.substring(0, i); // find firstName

break;

}

}

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

if(name.charAt(i)==' '){

counter++; //count entered names(first,middle,last or first last only)

}

}

if(counter == 2){

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

if(Character.toUpperCase(name.charAt(i)) == ' '){

middleInitial = Character.toUpperCase(name.charAt(i+1));//find the middle name initial character

break;

}

}

}

firstInitial = Character.toUpperCase(name.charAt(0)); //the first name initial character

if(counter == 2){

System.out.print(lastName+", "+firstName+" "+middleInitial+".");

}else{

System.out.print(lastName+", "+firstName);

}

}

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

What software tool can you use to see the applications that are currently running?
Task Manager
Computer Management
Control Panel
Windows Defender
None of the above

Answers

You can use the Task Manager to see the applications that are currently running.

What is the role of Task Manager?Task Manager displays the current programs, processes, and services running on your computer. You can use Task Manager to monitor your computer's performance or to terminate a non-responsive software.Administrators can use Task Manager to terminate applications and processes, adjust processing priorities, and set processor affinity as needed for optimal performance. Furthermore, Task Manager enables the system to be shut down or restarted, which may be required if it is otherwise busy or unresponsive.

To learn more about Task Manager refer,

https://brainly.com/question/28481815

#SPJ1

How to Present a data flow diagram for a food ordering system.

Answers

Using DFD, let's examine how the meal ordering system functions (Data Flow Diagram). Food ordering system DFD.

An ordering system is what?

The "mechanical" aspect of managing inventory is purchasing systems. These are the software applications that convert our projections, actual orders, safety stock, and order quantities into purchase requisitions or production orders.

What does the ordering system serve?

An online ordering system's primary function is to give customers a method to order from a restaurant online. Why is this significant then? The major justification is that it's advantageous to both the client and the company.

To know more about Ordering system visit:

https://brainly.com/question/2249009

#SPJ13

Answers

What is this? Can you correct this question

RecordingSort.java (PLEASE HELP)
Question:
Radio station KJAVA wants a class to keep track of recordings it plays. Create a class named Recording that contains fields to hold methods for setting and getting a Recording’s title, artist, and playing time in seconds.

Implement the RecordingSort application that instantiates five Recording objects and prompts the user for values for the data fields. Then prompt the user to enter which field the Recordings should be sorted by—(S)ong title, (A)rtist, or playing (T)ime. Perform the requested sort procedure, and display the Recording objects.

The getter and setter methods for the song, artist, and playTime variables must be defined in the Recording class.

CODE:
Recording.java

public class Recording {
private String song;
private String artist;
private int playTime;
public void setSong(String title) {
}
public void setArtist(String name) {
}
public void setPlayTime(int time) {
}
public String getSong() {
}
public String getArtist() {
}
public int getPlayTime() {
}
}


RecordingSort.java:

import java.util.*;
public class RecordingSort {
public static void main(String[] args) {
// Write your code here
}

public static void sortByArtist(Recording[] array) {
// Write your code here
}

public static void sortBySong(Recording[] array) {
// Write your code here
}

public static void sortByTime(Recording[] array) {
// Write your code here
}
}

Answers

Java is a programming language that developers use to build applications for computers, servers, game consoles, scientific supercomputers, mobile phones, and other devices.

Why is Java so popular? The features of Java

According to the TIOBE index, which ranks programming language popularity, Java comes in third place overall behind Python and C. We can thank Java outstanding qualities for the language extensive usage, including:

Versatility. For producing Web applications, Android applications, and software development tools like Eclipse, IntelliJ IDEA, and NetBeans IDE, Java has long been the de-facto language of choice.User-friendliness : Java has an English-like grammar, making it the perfect language for beginners. Core Java should be learned first, followed by advanced Java.Decent documentation Java is 100 percent free because it is an open-source language. Java has excellent documentation, which is a key aspect of the language. It provides a thorough guide that will clarify any problems you might run into when coding in Java.A reliable API. Although Java only has roughly fifty keywords, it offers a broad and robust Application Programming Interface (API) with a variety of methods that may be utilized instantly in any code.A sizable neighborhood One of the factors contributing to Java's popularity is community support. The community there is notable for being the second-largest on Stack Overflow.

To Learn more about Java refer to:

https://brainly.com/question/25458754

#SPJ9

Other Questions
dentify the following group of words as an incomplete or complete sentence. If the sentence is incomplete, identify the reason.Football and hockey Which number should be on the bottom left stamp? Explain what the answer is and how you got it! what was not an effect of innovations and improvements in transportation in the united states in the early 1800s? responses as more towns were founded, people began to feel more isolated and less connected. as more towns were founded, people began to feel more isolated and less connected. farmers invested in new equipment and cultivated more land. farmers invested in new equipment and cultivated more land. the average person started using paper money and buying on credit more frequently. the average person started using paper money and buying on credit more frequently. people began to move and relocate, and pioneers moved west in larger numbers. TASK 3 Complete these sentences about yourself, using an -ing form or infinitive. 1) I enjoy my work, but I wouldn't mind having a bit more responsibility. 2) When I was 16, I decided..... 3) If I moved to another town, I would miss....... 4) At the moment I can't afford........ 5) I am really looking forward to 6 In a few years time, I hope.... 7) At the moment I'm considering.... during metamorphism, changes in the bulk composition of a rock occur primarily as a result of ? according to communication specialist dave zielinski, (fill in the blank) and (fill in the blank) are keys when it comes to delivering bad news. kitchen clean contracts to provide services for chef rave's restaurants at a rate of $1,000 per month to begin next month. after the first cleaning, kitchen clean complains that the conditions of the exhaust hoods were worse than either party knew. the parties agree to a new agreement for $1,500 per month during months when the hoods require cleaning and $1,000 for all other months. the parties have discharged their original contract via what method? Are Africanized honey bees a direct or indirect threat? why couldn't the natives be colonists slaves? will reward brainliest please help!!!Dianelys accepted a new job at a company with a contract guaranteeing annual raises. In the first year, Dianelys' salary will be $40000, and she will get a raise of $2500 every year. Make a table of values and then write an equation for S,S, in terms of n,n, representing Dianelys' salary after working nn years for the company. what is the ph of a solution made by mixing 40.00 ml of 0.100 m hcl with 25.00 ml of 0.100 m koh? assume that the volumes of the solutions are additive. what is the answer what is the answer what is the step by step answer to learn to do it Was Booker T. Washington an "Uncle Tom", who was condemning the African-American race to manual labor and perpetual inferiority as W. E. B. DuBois was suggesting )? for most breach of contract claims, the remedy at law will be awarded by the court to the nonbreaching party. Construct the graph of the equation given by solving for the intercepts. Show all of the steps in finding the intercepts and thenplot the intercepts to create the graph. Label the intercepts, as well as the axis on the graph.2x+3y=6 Summarize in three sentences what happens to Phineas Gage on this fateful day and why it is remembered centuries later.I need help with this!!!! The Fourth, Fifth, and Sixth amendments all address:A. civil rights under the law.B. individual property rights.C. rights to free expression.D. the rights of the accused. what does pei-chia lan call filipino and indonesian domestic workers laboring for newly rich families in taiwan? what changes occurred in society because of 27th amendment? What dangers do intolerance and the pursuit of ideological purity pose to therights of individuals?