Answer:
//method listUpper takes a list of strings as parameter
public List<String> listUpper(List<String> list)
{ List<String> finalList= new ArrayList<String>();
//finalList is created which is a list to display the strings in upper case
for(String s:list){ //loop iterates through every string in the list and converts each string to Upper case using toUpperCase() method
s = s.toUpperCase();
finalList.add(s); } //finally the upper case strings are added to the finalList
return finalList; } //return the final list with uppercase strings
Explanation:
The method listUpper() works as follows:
For example we have a list of following strings: ("a", "an", "being").
finalList is a list created which will contains the above strings after converting them to uppercase letters.
For loop moves through each string in the list with these strings ("a", "an", "being"). At each iteration it converts each string in the list to uppercase using toUpperCase() and then add the string after converting to uppercase form to the finalList using add() method. So at first iteration "a" is converted to A and added to finalList, then "an" is converted to uppercase AN and added to finalList and at last iteration "being" is converted to BEING and added to finalList. At the end return statement returns the finalList which now contains all the string from list in uppercase form.
The method called listUpper() that takes in a list of strings, and returns a list of the same length containing the same strings but in all uppercase form is as follows:
def listUpper(list_string):
for i in range(len(list_string)):
list_string[i] = list_string[i].upper()
return list_string
print(listUpper(["buy", "dog", "rice", "brought", "gun"]))
Code explanationThe code is written in python.
We declared a function named listUpper as required. The function takes in list_string as an argument.Then, we loop through the range of the length of the list strings.Then we make each looped value capitalise.We returned the list strings.Finally, we call the function with the required parameter.learn more on python here: https://brainly.com/question/6858475
MULTI-SELECT
Which of the following is a current development in networking?
need for thicker cables
FDDI
need for better data storage
Ethernet
Answer:
Need for better data storage
Explanation:
Just got is right on edg
Answer:
C. needs better data storage
Explanation:
Please Code in HIGH LEVEL ASSEMBLY BY Randall Hyde. Please if you could it would be more helpful and understandable.
Big Number! Write an HLA Assembly language program that prompts for... Big Number! Write an HLA Assembly language program that prompts for n, an int8 value, and then displays a repeated digit pattern starting with that number. The repeated digit pattern should show one n, two n-1s, three n-2s, ... , n-1 2s and n 1s. Shown below is a sample program dialogue.
These are the sample program:
Gimme a decimal value to use for n: 5 Here's your answer: 544333222211111
Gimme a decimal value to use for n: 8 Here's your answer: 877666555544444333333222222211111111
Here's an example of a program written in the High-Level Assembly (HLA) language by Randall Hyde to achieve the desired task:
assembly:
program BigNumber;
#include( "stdlib.hhf" )
static
n: int8;
digit: int8;
count: int8;
counter: int8;
procedure PrintDigit;
begin PrintChar( AL + '0' ); end PrintDigit;
procedure PrintPattern;
begin
mov( digit, n ); // Set initial digit value
for( count := 1; count <= n; count := count + 1 ) do
begin
for( counter := 1; counter <= count; counter := counter + 1 ) do
begin
call PrintDigit;
endfor;
mov( digit, digit - 1 ); // Decrement digit value
endfor;
end PrintPattern;
begin BigNumber;
stdout.put( "Gimme a decimal value to use for n: " );
stdin.get( n );
stdout.put( "Here's your answer: " );
call PrintPattern;
stdout.newln();
end BigNumber;
This program starts by prompting the user to input an `int8` value, `n`. It then proceeds to display the repeated digit pattern as described in the problem statement.
The `PrintDigit` procedure is used to print a single digit, obtained by adding the value in the `AL` register to the ASCII value of '0' and printing it as a character.
The `PrintPattern` procedure uses nested loops to generate the repeated digit pattern. It iterates `count` from 1 to `n`, printing the current digit `count` number of times. After each inner loop iteration, it decrements the `digit` value to generate the subsequent digit pattern.
Finally, the `BigNumber` main procedure displays the prompt, calls the `PrintPattern` procedure, and adds a new line to the output.
When executed, the program will prompt the user for a decimal value, display the repeated digit pattern based on the input, and provide the expected output.
For more questions on nested loops, click on:
https://brainly.com/question/31939276
#SPJ8
What type of device is a printer?
Answer:
Explanation:
A printer is an output device which prints a hard copy of the electronic data that is stored in the computer or any other devices. The electronic data may include documents, text, images or even the combination of all three. Particular printers are available for printing particular data types.
Which function in Excel tells how many
numeric entries are there?
NUM
COUNT
SUM
CHKNUM
Answer:
COUNT
Explanation:
Hope this helps! Plz mark brainliest!
Which devices are likely to include a computer? Select 3 options.
cell phone
toaster
ATM cash machine at the bank
lawnmower
GPS mapping device
Answer:
Cell Phone, ATM Cash Machine, and a GPS Mapping Device
Answer:
Right answers:
ATM cash machine at the bank GPS mapping deviceCell phoneExplanation:
Edge 2022
The best method to prevent information on a disk from being discovered is to: A) use DOD overwrite protocols in wiping information from the disk. B) put the disk and the computer under water. C) melt the plastic disk contained within a hard drive container. D) smash the drive with a stout hammer
Answer:
C) Melt the plastic disk contained within a hard drive container
Explanation:
Data protection is very necessary from keep saving information from those that are not eligible to access it. It helps to avoid phishing scams, and identity theft.Alot of information are stored on the harddisk daily which can be read by disk drive, as situation can warrant prevention of third party from discovering information on it.There is hard platter used in holding magnetic medium in hard disk which make it different from flexible plastic film used in tapes.The disk drive container helps to hold as well power the disk drive.
It should be noted that The best method to prevent information on a disk from being discovered is to firstly
Melt the plastic disk contained within a hard drive container.
xamine the following output:
Reply from 64.78.193.84: bytes=32 time=86ms TTL=115
Reply from 64.78.193.84: bytes=32 time=43ms TTL=115
Reply from 64.78.193.84: bytes=32 time=44ms TTL=115
Reply from 64.78.193.84: bytes=32 time=47ms TTL=115
Reply from 64.78.193.84: bytes=32 time=44ms TTL=115
Reply from 64.78.193.84: bytes=32 time=44ms TTL=115
Reply from 64.78.193.84: bytes=32 time=73ms TTL=115
Reply from 64.78.193.84: bytes=32 time=46ms TTL=115
Which of the following utilities produced this output?
The output provided appears to be from the "ping" utility.
How is this so?Ping is a network diagnostic tool used to test the connectivity between two network devices,typically using the Internet Control Message Protocol (ICMP).
In this case, the output shows the successful replies received from the IP address 64.78.193.84,along with the response time and time-to-live (TTL) value.
Ping is commonly used to troubleshoot network connectivity issues and measureround-trip times to a specific destination.
Learn more about utilities at:
https://brainly.com/question/30049978
#SPJ1
Which of the following devices is not connected to the Internet of Things?
The statement that is true regarding internet of things is it is the network of devices with the ability to connect and exchange data. The right answer is 1.
The Internet is a huge global network that links computers. From any location with an Internet connection, people may share information and converse online. It allows for efficient contact via email and instant messaging with any location on Earth. While saving significant time, it improves corporate transactions and interactions. Online banking and shopping have made life easier. Communication and information exchange are made easier when the internet is used for education. It enables students to access pertinent study materials in a range of multimedia forms and watch lectures online.
Learn more about internet here-
https://brainly.com/question/14823958
#SPJ4
What is your work solutions?
Answer:
Explanation:
< xlink:href="https://www.worktime.com/employee-time-tracking-software">employee tracking</link> worktime solutions is the best!
Python coding.............
Answer:
# Take in four positive integers
num1 = int(input("Enter the first number: "))
num2 = int(input("Enter the second number: "))
num3 = int(input("Enter the third number: "))
num4 = int(input("Enter the fourth number: "))
# Initialize the count of odd numbers
odd_count = 0
# Check each number for oddness
if num1 % 2 != 0:
odd_count += 1
if num2 % 2 != 0:
odd_count += 1
if num3 % 2 != 0:
odd_count += 1
if num4 % 2 != 0:
odd_count += 1
# Output the total count of odd numbers
print("The number of odd numbers is:", odd_count)
Explanation:
Enter the first number: 1
Enter the second number: 2
Enter the third number: 3
Enter the fourth number: 4
The number of odd numbers is: 2
What problems might you encounter when using the Web for research?
a. Lack of current news
b. Undocumented sources
c. Lack of search tools
d. Time-consuming searches
e. Unreliable conten
Answer:
b. d. e.
Explanation:
The web is a vast and endless database of information and has become an invaluable resource for research. That being said it can also bring with it many problems, the main one being unreliable content due to undocumented sources, false testimonies, information with no evidence, etc. The amount of false information on the internet can sometimes make it very time consuming since you have to take the extra step of verifying the information you come across. Despite this, the WEB has information on every topic including current news, and with the wide array of search tools available it is very easy to find what you are looking for.
Define network architecture?
short answer please
Network architecture refers to the approach network devices and services area unit structured to serve the property desires of shopper devices.
Network devices usually embrace switches and routers.Types of services embrace DHCP and DNS.Client devices comprise end-user devices, servers, and smart things.Networks additionally got to be dynamic, agile, and in lockstep with business desires. ancient, manually intensive strategies of managing pc networks area unit proving to be unsustainable. New approaches area unit necessary, ones that need transformational changes in however networks area unit architected.
This is what spec is all regarding. It’s however information flows expeditiously from one pc to a different. And for businesses with an internet element, it’s a vital idea that encompasses a vital impact on their operation
Learn more about Network Architecture at
https://brainly.com/question/13327017
1. Design a DC power supply for the Fan which have a rating of 12V/1A
To design a DC power supply for a fan with a rating of 12V/1A, you would need to follow these steps:
1. Determine the power requirements: The fan has a rating of 12V/1A, which means it requires a voltage of 12V and a current of 1A to operate.
2. Choose a transformer: Start by selecting a transformer that can provide the desired output voltage of 12V. Look for a transformer with a suitable secondary voltage rating of 12V.
3. Select a rectifier: To convert the AC voltage from the transformer to DC voltage, you need a rectifier. A commonly used rectifier is a bridge rectifier, which converts AC to pulsating DC.
4. Add a smoothing capacitor: Connect a smoothing capacitor across the output of the rectifier to reduce the ripple voltage and obtain a more stable DC output.
5. Regulate the voltage: If necessary, add a voltage regulator to ensure a constant output voltage of 12V. A popular choice is a linear voltage regulator such as the LM7812, which regulates the voltage to a fixed 12V.
6. Include current limiting: To prevent excessive current draw and protect the fan, you can add a current-limiting circuit using a resistor or a current-limiting IC.
7. Assemble the circuit: Connect the transformer, rectifier, smoothing capacitor, voltage regulator, and current-limiting circuitry according to the chosen design.
8. Test and troubleshoot: Once the circuit is assembled, test it with appropriate load conditions to ensure it provides a stable 12V output at 1A. Troubleshoot any issues that may arise during testing.
Note: It is essential to consider safety precautions when designing and building a power supply. Ensure proper insulation, grounding, and protection against short circuits or overloads.
For more such answers on design
https://brainly.com/question/29989001
#SPJ8
what type of computer is an ATM attached to ?
Assume the class Student implements the Speaker interface from the textbook. Recall that this interface includes two abstract methods, speak( ) and announce(String str). A Student contains one instance data, String class Rank. Write the Student class so that it implements Speaker as follows. The speak method will output "I am a newbie here" if the Student is a "Freshman", "I like my school" if the Student is either a "Sophomore" or a "Junior", or "I can not wait to graduate" if the student is a "Senior". The announce method will output "I am a Student, here is what I have to say" followed by the String parameter on a separate line. Finally, the class Rank is initialized in the constructor. Only implement the constructor and the methods to implement the Speaker interface.
Answer:
Check the explanation
Explanation:
Based on the above information, this the following resulting code.
The solution has namely one interface named Speaker, one class called Student and one Main class called StudentMain.
The StudentMain class just initialize various instances of the Student class with various classRank values and then subsequently calling in the speak() methods of all.
announce() method is called on one such instance of Student class to demonstrate its functioning.
Comments are added at required place to better help in understanding the logic.
Speaker.java
public interface Speaker {
abstract void speak();
abstract void announce(String str);
}
Student.java
public class Student implements Speaker {
/*
* Write the Student class so that it implements Speaker as follows.
The speak method will output "I am a newbie here" if the Student is a "Freshman",
"I like my school" if the Student is either a "Sophomore" or a "Junior",
or "I can not wait to graduate" if the student is a "Senior".
The announce method will output "I am a Student, here is what I have to say" followed by the String parameter on a separate line.
*/
String classRank;
// Based on the requirement taking in classRank String as a constructor parameter
public Student(String classRank) {
super();
this.classRank = classRank;
}
// Using the switch-case to code the above requirment
public void speak() {
switch(classRank) {
case "Freshman":
System.out.println("I am a newbie here");
break;
// This case would output the same result for the 2 case conditions
case "Sophomore":
case "Junior":
System.out.println("I like my school");
break;
case "Senior":
System.out.println("I can not wait to graduate");
break;
default:
System.out.println("Unknown classRank inputted");
}
}
//Based on the requirement, first line is printed first after second which is
// the inputted String parameter
public void announce(String str) {
System.out.println("I am a Student, here is what I have to say");
System.out.println(str);
}
}
StudentMain.java
public class StudentMain {
public static void main(String[] args) {
// Initializing all the Objects with required classRank
Student stu1=new Student("Freshman");
Student stu2=new Student("Sophomore");
Student stu3=new Student("Junior");
Student stu4=new Student("Senior");
Student stu5=new Student("Freshman");
//Calling the speak methods of the all the above create objects
stu1.speak();
stu2.speak();
stu3.speak();
stu4.speak();
stu4.speak();
stu4.announce("Wish u all the best");
}
}
Following is the output generated from the code run.
Which of the following statements about markup languages is true?
• Markup languages are used to write algorithms.
Markup languages are used to structure content for computers to interpret
JavaScript is an example of a markup language.
Markup languages are a type of programming language.
The most widely used markup languages are SGML (Standard Generalized Markup Language), HTML (Hypertext Markup Language), and XML (Extensible Markup Language).
B .Markup languages are used to structure content for computers to interpret is true.
What is a markup language in programming?A markup language is a type of language used to annotate text and embed tags in accurately styled electronic documents, irrespective of computer platform, operating system, application or program.
What does a markup language used to identify content?Hypertext markup language is used to aid in the publication of web pages by providing a structure that defines elements like tables, forms, lists and headings, and identifies where different portions of our content begin and end.
To learn more about A markup language, refer
https://brainly.com/question/12972350
#SPJ2
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?
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
What is the effectiveness of communication technology?
Explanation:
Majority of studies measured the effectiveness of ICT by measuring specific dimensions rather than social isolation in general. ICT use was consistently found to affect social support, social connection's, with social isolation in positively.
The Bradshaw family has $200,000 of total assets and $140,000 of liabilities. What is their net worth?
Answer:
$340,000 is there net worth
Explanation:
$200,000+ $140,000 = $340,000
ROCK = 0 PAPER = 1 SCISSORS = 2 # Read random seed to support testing (do not alter) and starting credits
seed = int(input())
# Set the seed for random
random.seed(int(seed))
# Type your code here.
In this exercise we have to use the knowledge of computational language in python to write a code that Read random seed to support testing (do not alter) and starting credits seed = int(input()).
Writting the code:import random
ROCK = 0
PAPER = 1
SCISSORS = 2
# Read random seed to support testing (do not alter) and starting credits
seed = int(input())
# Set the seed for random
random.seed(int(seed))
# Type your code here.
player_1 = input()
player_2 = input()
rounds = 0
count = 0
win_count1 = 0
win_count2 = 0
while True:
rounds = int(input())
if rounds >= 1:
break
else:
print("Rounds must be > 0")
print(player_1 + " vs " + player_2 + " for " + str(rounds) + " rounds")
while count < rounds:
p1 = random.randint(0, 2)
p2 = random.randint(0, 2)
if p1 == p2:
print("Tie")
elif p1 == ROCK:
if p2 == SCISSORS:
print(player_1 + " wins with rock")
win_count1 = win_count2 + 1
else:
print(player_2 + " wins with paper")
win_count2 = win_count2 + 1
count = count + 1
elif p1 == PAPER:
if p2 == ROCK:
print(player_1 + " wins with paper")
win_count1 = win_count1 + 1
else:
print(player_2 + " wins with scissors")
win_count2 = win_count2 + 1
count = count + 1
elif p1 == SCISSORS:
if p2 == PAPER:
print(player_1 + " wins with scissors")
win_count1 = win_count1 + 1
else:
print(player_2 + "wins with rock")
win_count2 = win_count2 + 1
count = count + 1
print(player_1 + " wins " + str(win_count1) + " and " + player_2 + " wins " + str(win_count2))
See more about python at brainly.com/question/18502436
#SPJ1
The executive ________ is the person ultimately responsible to their company for the project's success.
fill in blank
Answer:
Manager.
Explanation:
Just thank me later and make sure to click the crown at the top of this answer ;)
Answer:
sponsor i took the test
Explanation:
Usually senior executives, executive sponsors, are the ones ultimately responsible to their company for the project's success.
Giving reasons for your answer based on the type of system being developed, suggest the most appropriate generic software process model that might be used as a basis for managing the development of the following systems: • A system to control anti-lock braking in a car • A virtual reality system to support software maintenance • A university accounting system that replaces an existing system • An interactive travel planning system that helps users plan journeys with the lowest environmental impac
There are different kinds of systems. the answers to the questions is given below;
Anti-lock braking system: Is simply known as a safety-critical system that helps drivers to have a lot of stability and hinder the spinning of car out of control. This requires a lot of implementation. The rights generic software process model to use in the control of the anti-lock braking in a car is Waterfall model. Virtual reality system: This is regarded as the use of computer modeling and simulation that helps an individual to to be able to communicate with an artificial three-dimensional (3-D) visual etc. the most appropriate generic software process model to use is the use of Incremental development along with some UI prototyping. One can also use an agile process.University accounting system: This is a system is known to have different kinds of requirements as it differs. The right appropriate generic software process model too use is the reuse-based approach.
Interactive travel planning system: This is known to be a kind of System that has a lot of complex user interface. The most appropriate generic software process model is the use of an incremental development approach because with this, the system needs will be altered as real user experience gain more with the system.
Learn more about software development from
https://brainly.com/question/25310031
Joseph owns a candy company and wants to show the popularity of his products across the United States. Which feature would best illustrate this argument? a 3D map a sparkline a trendline a data map
A 3D MAP
A data map would best illustrate the popularity of Joseph's candy products across the United States.
What is a Data Map?A data map is a visual representation of data that uses color coding or shading to show numerical values for specific regions or areas.
In this case, Joseph could use a data map to display sales data for each state, with darker colors representing higher sales figures. This would allow viewers to quickly and easily see which states have the highest and lowest sales of Joseph's candy products, and would provide a clear visual representation of the popularity of his products across the country.
Read more about data map here:
https://brainly.com/question/28416579
#SPJ1
Answer:
a) a 3-D map
Explanation:
got it right on edge
The main reason for using a comment in your HTML code is to
tell the browser what type of document it is
O give visitors information about the page
o indicate the end of information in the file
O document and explain parts of the code
Answer:
D, document and explain parts of code
Explanation:
Mark me brainliest :)
a stop watch is used when an athlete runs why
Explanation:
A stopwatch is used when an athlete runs to measure the time it takes for them to complete a race or a specific distance. It allows for accurate timing and provides information on the athlete's performance. The stopwatch helps in evaluating the athlete's speed, progress, and overall improvement. It is a crucial tool for coaches, trainers, and athletes themselves to track their timing, set goals, and analyze their performance. Additionally, the recorded times can be compared to previous records or used for competitive purposes,such as determining winners in races or setting new records.
you can support by rating brainly it's very much appreciated ✅
Is string default in python?
For example:
pet_type = input('Pet type (dog/cat)')
In this case, do I have to state str(input('Pet type (dog/cat)')?
Answer:
No, the input function returns a string, so there is no need to use str to convert the result to a string.
For example, in the code you provided:
pet_type = input('Pet type (dog/cat)')
The value of pet_type will be a string, regardless of what the user types at the prompt.
You can verify this by printing the type of pet_type:
print(type(pet_type)) # Output: <class 'str'>
You can also use the isinstance function to check if a variable is a string:
print(isinstance(pet_type, str)) # Output: True
Explanation:
The concept of the value chain focus on
Answer:
The overarching goal of a value chain is to deliver the most value for the least cost in order to create a competitive advantage.
Your Welcome:)
Microsoft office can be classified under what heading of application
Answer:
Word processing software/application
pls mark as brainliest!
Have a grt day!!!
Peter is explaining the steps to create a fire effect in an image to his class. Help Peter pick the correct word to complete the explanation.
After your text is created, duplicate the layer so that you have two versions. Next, apply a number of blank
options to the duplicated text layer.
Answer:
The answer would be "Blending"
Explanation:
I took the test and checked over my answers
Help plesae………………………..
Answer:
Find the answers in txt file
Explanation: