A terminology which was discussed to describe how surgeons use augmented reality, high-definition video, and real-time data readings from medical sensors to control the remote robotic surgical tool is telesurgery.
What are the forms of Extended Reality (ER)?In Computer technology, there are four (4) main types of Extended Reality and these include the following:
Virtual RealityMixed RealityHaptic RealityAugmented RealityWhat is telesurgery?In Artificial intelligence, telesurgery is sometimes referred to as remote surgery and it can be defined as a type of technology which avails a surgeon an ability to remotely perform surgery on a patient, especially through the use of high-definition video, real-time data readings, and Augmented Reality (AR).
Read more on telesurgery here: https://brainly.com/question/29662419
#SPJ1
to provide additional storage space, you have added a second internal hard drive to your windows 10 system. for the past several weeks, you have created and changed many files stored on the new hard drive. one of the files on the new drive has become corrupted. you want to recover as much as you can by reverting to a previous version of that file. after viewing the file properties, you notice that no previous versions are available. which action must you take to ensure that you can revert files to previous versions on the new hard drive of your windows 10 computer?
For the new hard drive, enable System Restore. Navigate to Control Panel > System and Security > System > System Protection. Choose New Hard Drive, then click Configure and choose the option to Enable System Protection.
What is a hard drive?
A hard disc drive (HDD), often known as a hard disc, hard drive, or fixed disc, is an electro-mechanical digital storage device that keeps and retrieves digital data utilizing magnetic storage on one or more rigid, rapidly spinning platters coated with magnetic material. The discs are coupled with magnetic heads that read and write information to the platter surfaces. Such heads are typically arranged on a rotating actuator arms. Blocks of data can be stored and retrieved in any sequence because data is accessed arbitrarily.
To know more about Hard drive
https://brainly.com/question/10677358
#SPJ4
Design a program that asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data:.
Below is the program which asks the user to enter a series of 20 numbers. The program should store the numbers in an array and then display the following data the task mentioned in the question and is written in python.
Coding Part:
mylist = []
#initialize an empty list to hold the values
for n in range(1, 21):
#loop to request 20 inputs from user
n = int(input('Enter a value : '))
mylist.append(n)
#append each value to the list
print('lowest : ' , min(mylist))
print('highest : ' , max(mylist))
print('Total : ' , sum(mylist))
print('Average : ' , sum(mylist)/len(mylist))
#displays the required information
To know more about array, visit: https://brainly.com/question/24275089
#SPJ4
assume that names is an array of strings that has already been declared and initialized. also assume that hasempty is a boolean variable that has been declared. write the statements needed to determine whether any of the array elements are equal to null or refer to an empty string. set the variable hasempty to true if any elements are equal to null or refer to an empty string. otherwise set hasempty to false.
Answer:
hasEmpty = false;
for (int i = 0; i < names.length; i++)
if (names[i] == null || names[i].length() == 0)
hasEmpty = true;
An array of arrays of characters is an array of arrays of strings. Here, the terms “string array” and “arrays of strings" are synonymous. You can use arrays of strings, for instance, to store the names of students in a class. String arrays might have one dimension or several dimensions.
What boolean variable is related to an array of strings?A string is a particular kind of variable that holds a collection of characters (i.e. text.) A boolean is a type of variable that can take on either the true or false value.In some circumstances, we must set the boolean array's initial values to either true or false.
Only boolean data types can be stored in the boolean array, and the array's default value is false. Arrays of reference types are initialized to null, while arrays of booleans are initialized to false.
Therefore, if (names[i] == null || names[i].length() == 0) then has Empty = true; otherwise, has Empty = false; for (int I = 0; I name.length; i++);
Learn more about boolean variable here:
https://brainly.com/question/13527907
#SPJ2
LAB: Book information (overriding member functions)Given main() and a base Book class, define a derived class called Encyclopedia. Within the derived Encyclopedia class, define a PrintInfo() function that overrides the Book class' PrintInfo() function by printing not only the title, author, publisher, and publication date, but also the edition and number of volumes.Ex. If the input is:The HobbitJ. R. R. TolkienGeorge Allen & Unwin21 September 1937The Illustrated Encyclopedia of the UniverseJames W. GuthrieWatson-Guptill20012nd1the output is:Book Information:Book Title: The HobbitAuthor: J. R. R. TolkienPublisher: George Allen & UnwinPublication Date: 21 September 1937Book Information:Book Title: The Illustrated Encyclopedia of the UniverseAuthor: James W. GuthriePublisher: Watson-GuptillPublication Date: 2001Edition: 2ndNumber of Volumes: 1Note: Indentations use 3 spaces.LAB ACTIVITY9.15.1: LAB: Book information (overriding member functions)main.cpp#include "Book.h"#include "Encyclopedia.h"#include #include using namespace std;int main(int argc, char* argv[]) {Book myBook;Encyclopedia myEncyclopedia;string title, author, publisher, publicationDate;string eTitle, eAuthor, ePublisher, ePublicationDate, edition;int numVolumes;getline(cin, title);getline(cin, author);getline(cin, publisher);getline(cin, publicationDate);getline(cin, eTitle);getline(cin, eAuthor);getline(cin, ePublisher);getline(cin, ePublicationDate);getline(cin, edition);cin >> numVolumes;myBook.SetTitle(title);myBook.SetAuthor(author);myBook.SetPublisher(publisher);myBook.SetPublicationDate(publicationDate);myBook.PrintInfo();myEncyclopedia.SetTitle(eTitle);myEncyclopedia.SetAuthor(eAuthor);myEncyclopedia.SetPublisher(ePublisher);myEncyclopedia.SetPublicationDate(ePublicationDate);myEncyclopedia.SetEdition(edition);myEncyclopedia.SetNumVolumes(numVolumes);myEncyclopedia.PrintInfo();return 0;}Book.h#ifndef BOOKH#define BOOKH#include using namespace std;class Book {public:void SetTitle(string userTitle);string GetTitle();void SetAuthor(string userAuthor);string GetAuthor();void SetPublisher(string userPublisher);string GetPublisher();void SetPublicationDate(string userPublicationDate);string GetPublicationDate();void PrintInfo();protected:string title;string author;string publisher;string publicationDate;};#endifBook.cpp#include "Book.h"#include void Book::SetTitle(string userTitle) {title = userTitle;}string Book::GetTitle() {return title;}void Book::SetAuthor(string userAuthor) {author = userAuthor;}string Book::GetAuthor() {return author;}void Book::SetPublisher(string userPublisher) {publisher = userPublisher;}string Book::GetPublisher() {return publisher;}void Book::SetPublicationDate(string userPublicationDate) {publicationDate = userPublicationDate;}string Book::GetPublicationDate() {return publicationDate;}void Book::PrintInfo() {cout << "Book Information: " << endl;cout << " Book Title: " << title << endl;cout << " Author: " << author << endl;cout << " Publisher: " << publisher << endl;cout << " Publication Date: " << publicationDate << endl;}#ifndef ENCYCLOPEDIAH#define ENCYCLOPEDIAH#include "Book.h"Encyclopedia.hclass Encyclopedia : public Book {// TODO: Declare mutator functions -// SetEdition(), SetNumVolumes()// TODO: Declare accessor functions -// GetEdition(), GetNumVolumes()// TODO: Declare a PrintInfo() function that overrides// the PrintInfo in Book class// TODO: Declare private fields: edition, numVolumes};#endifEncyclopedia.cpp#include "Encyclopedia.h"#include // Define functions declared in Encyclopedia.h
void Encyclopedia::SetEdition(string userEdition) {edition = userEdition;}string Encyclopedia::GetEdition() {return edition;}void Encyclopedia::SetNumVolumes(int userNumVolumes) {numVolumes = userNumVolumes;}int Encyclopedia::GetNumVolumes() {return numVolumes;}void Encyclopedia::PrintInfo() {cout << "Book Information: " << endl;cout << " Book Title: " << title << endl;cout << " Author: " << author << endl;cout << " Publisher: " << publisher << endl;cout << " Publication Date: " << publicationDate << endl;cout << " Edition: " << edition << endl;cout << " Number of Volumes: " << numVolumes << endl;}
For more questions like Encyclopedia click the link below:
https://brainly.com/question/29632513
#SPJ4
You are a cyber forensic specialist, and you are asked to retrieve the password of an employee account suspected of being an imposter. As you are provided with the enterprise's strong password policy, which of the following methods will be the easiest for you to use when retrieving the password? a. Brute force attack b. Dictionary attackc. Hybrid attack d. Rule attack
The method that will be easiest for you to use when retrieving the password is a brute force attack. The correct option is a.
What is a brute force attack?Using a predetermined set or list of widely used passwords or from a database leak, a brute attack is a technique for cracking someone's password or login credentials.
By utilizing a mix of a password devoid of dictionary words and several symbols and numbers with both uppercase and lowercase characters, we can guard against brute-force attacks.
This is the kind of hacking where an algorithm or machine repeatedly tries different password combinations and sequences until it finds the proper one.
Therefore, the correct option is a, Brute force attack.
To learn more about brute force attacks, refer to the link:
https://brainly.com/question/28119068
#SPJ1
write a recursive method that takes a string as a parameter. it returns a string composed of itself, and a mirror image of itself(reverse), separated by a hyphen. complete this function without the aid of a helper function and without the usage of the string classes reverse method.
You can use the code below to solve the question about recursive methods:
-------------------
CODE AREA
-------------------
#include <iostream>
using namespace std;
string mirrorString(string s){
if(s.length()==1)return s;
string word=s.at(s.length()-1)+mirrorString(s.substr(0,s.length()-1));
return word;
}
int main()
{
cout << mirrorString("rahul")<< endl;
cout << mirrorString("Kumar")<< endl;
cout << mirrorString("Chegg")<< endl;
cout << mirrorString("Kundra")<< endl;
return 0;
}
-------------------
CODE AREA
-------------------
Learn more about recursive method: https://brainly.com/question/22237421
#SPJ4
The Output:
write a program that reads a list of words. then, the program outputs those words and their frequencies (case insensitive). ex: if the input is: hey hi mark hi mark the output is: hey 1 hi 2 mark 2 hi 2 mark 2 hint: use lower() to set each word to lowercase before comparing.
Using the knowledge in computational language in python it is possible to write a code that reads a list of words. then, the program outputs those words and their frequencies.
Writting the code:str=input("Enter a sentence: ")
#conver the string to lower case
str_cpy=str.lower()
words=str_cpy.split()
#dictionary to store the frequency
freq={}
for word in words:
if word in freq:
freq[word]=freq[word]+1
else:
freq[word]=1
#split the original string
original=str.split()
for i in range(len(original)):
print("%s %d"%(original[i],freq[words[i]]))
Can arrays copyOf () be used to make a true copy of an array?
There are multiple ways to copy elements from one array in Java, like you can manually copy elements by using a loop, create a clone of the array, use Arrays. copyOf() method or System. arrayCopy() to start copying elements from one array to another in Java.
See more about python at brainly.com/question/18502436
#SPJ1
Jerry has a problem with a package he just received—two items from his order are missing. Who should he contact to resolve the problem?.
Which network layer protocol is used if a host without an ip address tries to obtain an ip address from a dhcp server.
A connectionless service paradigm is used by DHCP, which makes use of the User Datagram Protocol (UDP).
DHCP protocol operates at what layer?A client computer on the network can obtain an IP address and other configuration parameters from the server using the application-layer protocol known as DHCP.A network protocol called Dynamic Host Configuration Protocol (DHCP) is used to set up network devices for IP network communication.A DHCP client obtains configuration data from a DHCP server using the DHCP protocol, such as an IP address, a default route, and one or more DNS server addresses.Enhancements to DHCP auto-provisioning have been added for Layer 2 and Layer 3 devices.To learn more about DHCP protocol refer to:
https://brainly.com/question/14234787
#SPJ4
a user is surfing the internet using a laptop at a public wifi cafe. what should be checked first when the user connects to the public network?
A user is surfing the Internet using a laptop from a public WiFi cafe. They should check if the laptop requires user authentication for file and media sharing first when the user connects to the public network.
What is public network?Anybody, or the general public, can connect to a public network, which is a particular kind of network through which they can access other networks or the Internet. In contrast, access is restricted and governed by rules on a private network, where only a select group of people have access to it. Users must be cautious of potential security risks when accessing a public network because there are little to no restrictions.
Rather than referring to a topology or other technical concept, "public network" refers to a usage term. With the exception of the security, addressing, and authentication systems in place, there is no technical distinction between a private and public network in terms of hardware or infrastructure.
Learn more about public network
https://brainly.com/question/14759859
#SPJ4
imagine a designer finishes a client project and wants to write a case study. they draft a case study that highlights their sketches, wireframes, and polished designs. should they also include a description of the project and its goals?
Yes they can include a description of the project and its goals.
What is project?A project is described as a collection of tasks that must be completed in order to achieve a specific goal. Projects can be managed by one person or one hundred, and they can be simple or complex.
Instead of focusing solely on the appearance of the design project's final result, the case study aims to contextualize it and demonstrate how it functions in a real-world setting. A community as a whole or a particular group of people may be the subject of a study.
Thus, yes they can include a description of the project and its goals.
To learn more about project, refer to the link below:
https://brainly.com/question/29564005
#SPJ1
you are trying to push a memory module into a memory slot, but it is not seating properly. what is the most likely issue?
Note that where you are trying to push a memory module into a memory slot, but it is not seating properly the most likely problem is that you are trying to install the memory module backward or incorrectly.
What is a memory module?A memory module, often known as a RAM stick, is a printed circuit board that houses memory-integrated circuits. Memory modules make it simple to add and replace memory in electronic devices, particularly PCs like personal computers, workstations, and satellites.
RAM, ROM, CMOS, and flash are all types of memory. RAM is an abbreviation for random access memory, whereas ROM is an abbreviation for read only memory. These are also known as a computer's main memory.
Learn more about Memory Module:
https://brainly.com/question/29607425
#SPJ1
You wrote a program to compare the portion of drivers who were on the phone. Which statements are true? Select 4 options. Responses It is important to test your program with a small enough set of data that you can know what the result should be. It is important to test your program with a small enough set of data that you can know what the result should be. A different set of observations might result in a larger portion of male drivers being on the phone. A different set of observations might result in a larger portion of male drivers being on the phone. Your program compared an equal number of male and female drivers. Your program compared an equal number of male and female drivers. You could modify the program to allow the user to enter the data. You could modify the program to allow the user to enter the data. Even when confident that the mathematical calculations are correct, you still need to be careful about how you interpret the results. Even when confident that the mathematical calculations are correct, you still need to be careful about how you interpret the results.
Whats the point TL;DR
your company has embraced cloud-native microservices architectures. new applications must be dockerized and stored in a registry service offered by aws. the architecture should support dynamic port mapping and support multiple tasks from a single service on the same container instance. all services should run on the same ec2 instance.
The technology that might be suit with this company requirement is Application Load Balancer + ECS. Load Balancer + ECS can be used to run on the same EC2 instance.
Dedicated Instances are Amazon EC2 instances that is running on a physical host reserved for the exclusive use of a single AWS account. Your Dedicated instances are physically isolated at the host hardware level from instances that belong to other AWS accounts. Dedicated Instances belonging to different AWS accounts are physically isolated at the hardware level, even if those accounts are linked to a single payer account. Dedicated Instances is that a Dedicated Host gives you additional visibility and control over how instances are deployed on a physical server, and you can consistently deploy your instances to the same physical server over time.
The complete question can be seen below:
Your company has embraced cloud-native microservices architectures. New applications must be dockerized and stored in a registry service offered by AWS. The architecture should support dynamic port mapping and support multiple tasks from a single service on the same container instance. All services should run on the same EC2 instance. Which technology will best fit your company requirements?
Learn more about dedicated instance at brainly.com/question/14302227
#SPJ4
The open source movement makes _____ available to everyone in an effort to continue to build and improve the functionality of open source software.
Answer: the source code
Explanation:
Write a MATLAB function that accepts matrix A of size n x n and computes the LU decomposition of A with partial pivoting. The function call must be [L, U, P] = function(A). Please remember that you are not allowed to use any built in MATLAB functions to compute the LU decomposition. you are allowed to use functions like max. HINT: Test your code by creating a random matrix, computing the LU decomposition and checking the norm of P*A-L*U.
Create the row and column permutation matrices by computing the LU factorization of S using the sparse matrix syntax. lu(S) = [L,U,P,Q];
Compare the outcome of permuting the triangular factors L*U with that of permuting the rows and columns of S with P*S*Q. Create a matrix A = LU where L is the lower triangular matrix and U is the upper triangular matrix, with principal diagonal components equal to 1. This equation can be solved to obtain y1, y2, and y3. Equation is solved to provide X, x1, x2, and x3. Ax=bLUx=bUx=L1bx=U1(L1b), where x=U1(L1b) x = U 1 (L 1 b) is evaluated using back substitution after evaluating L1b L 1 b using forward substitution. Thus, two linear systems have been used in place of Ax=b A x = b.
Learn more about system here-
https://brainly.com/question/18825060
#SPJ4
when using a computing algorithm to analyze large network diagrams, what are the four pieces of information needed for each activity?
The four pieces of information required for each activity are Activity, Network Diagram, Parameters, and Results.
Analysis – what is it?
The field of mathematics known as analysis is concerned with the study of continuous changes, and it encompasses the concepts of integration, specialization, measure, limits, analytic functions, and infinite series. The study of continuous real and complex-valued functions is done methodically. It describes one type of abstract logic theory as well as the field of study that calculus belongs to. Real analysis and analytic techniques, which focus on real-valued and complex-valued functions, respectively, are two major areas of analysis.
To know more about Analysis
https://brainly.com/question/890849
#SPJ4
A company has its network compromised. As an expert professional, the organization has hired you to identify the probable cause of the attack and fix it Asa security professional, you have noticed the pattern of compromise is unlike anything previously seen. You are looking to find new information on vulnerabilities like the attack that occurred Which of the following actions would help achieve this objective? a. Checking the surface web b. Implementing TCP/IP protocol across the network c. Checking the green web d. Checking the dark web
By looking into known attack vectors and seeking to exploit weaknesses, hackers steal information, data, and money from people and organizations.
Phishing emails, malware, and unpatched vulnerabilities are the three main attack methods employed by hackers. When Internet Explorer, Chrome, and Safari detect reflected cross-site scripting (XSS) attacks, they prevent pages from loading by using the HTTP X-XSS-Protection response header. These include email security solutions, firewalls, anti-malware software, and intrusion detection and prevention tools. Because they make it so simple for someone with the backdoor's knowledge to gain unauthorized access to the affected computer system and any networks to which it is connected, hidden backdoors are a major software vulnerability.
Learn more about network here-
https://brainly.com/question/13992507
#SPJ4
which method would you use to get all the elements in a dictionary returned as a list of tuples? a. list b. items c. keys d. pop
The method that a person use to get all the elements in a dictionary returned as a list of tuples is option b. items.
What do dictionary elements mean?A substance that cannot be chemically divided into simpler components is referred to as an element. A vital part of something or a natural habitat is frequently referred to as an element. As a noun, element can be used in a variety of additional contexts. An element is anything that, in chemistry, cannot be further subdivided.
Therefore, the items() method returns a view object in the Python dictionary. The key-value pairs from the dictionary are present in the view object as tuples in a list. Any alterations made to the dictionary will be reflected in the view object; an example is shown below.
Learn more about dictionary from
https://brainly.com/question/18523388
#SPJ1
the socket on this motherboard has 1151 pins in the socket that touch 1151 lands on the processor. which porcessor brand will fit this socket? what is this socket's contact method? type in the name of the socket.
A CPU socket for an Intel processor has 1,151 pins in a land grid array.
What are the variations of the socket and the processor?
There are presently variations of this socket. The first model is well suited with Intel's seventh and sixth technology chip-units and processors. The 2d technology is well suited with Intel eighth technology processors and chip-units.
Basic functionalities of processor:
A processor, additionally called a CPU and intel has 1151 pins, is a circuit board interior a laptop that executes commands on behalf of programmes. Modern laptop processors can manner tens of thousands and thousands of commands in line with 2d. Processors are the principle chip in a laptop. It's tough to assess a brand new piece of generation with out thinking about its processor. Even in case you are a techie, it's far tough to decode what a processor does.
Processors are the brains of a laptop. They are in rate of the common sense that plays calculations and runs programmed for your laptop.
Hence to finish there'll be 1151 pins in intel middle processor
To know more on processor follow this link:
https://brainly.com/question/614196
#SPJ4
The value placed within square brackets after an array name is _______________________.a. a subscriptb. an indexc. always an integerd. all of these
Answer: all of these
Explanation:
true or false? a block cipher encrypts one byte (or bit) at a time, whereas a stream cipher encrypts an entire block of data at a time
A block cipher encrypts one byte (or bit) at a time, whereas a stream cipher encrypts an entire block of data at a time is true.
What is a block cipher?Using a cryptographic key and algorithm, a block cipher encrypts data in blocks to create ciphertext. A stream cipher encrypts data one bit at a time, as opposed to the block cipher, which processes fixed-size blocks simultaneously.
Therefore, note that while stream ciphers change plaintext into ciphertext one byte at a time, block ciphers transform plaintext one block (64/128/256 bits) at a time. Block ciphers become slower as a result since a whole block must be gathered before the data can be encrypted or decrypted.
Learn more about block cipher from
https://brainly.com/question/29577420
#SPJ1
describe the process of relational database normalization. which normal forms rely on the definition of functional dependency?
Relational Database Normalization is the process of organizing data into tables in order to reduce data redundancy and improve data integrity. Normalization typically involves dividing large tables into smaller (and less redundant) tables and defining relationships between them.
Describing the process of relational database normalization:Identifying the existing relationships between the data. Splitting the data into multiple tables. Assigning primary keys to each table. Defining relationships between the tables using foreign keys. Ensuring data dependencies make sense. Refining the design until all tables are normalized.Normalization is an important step in database design as it helps to reduce data redundancy, improve data integrity and ensure data is stored in an efficient manner.
Which normal forms rely on the definition of functional dependency?Functional Dependency (FD) is an important concept in relational database normalization. It is defined as a relationship between two attributes within a given table, such that:
The value of one attribute (the determinant) determines the value of the other attribute (the dependent).Functional Dependency is used in the normalization process to ensure data redundancy is minimized and data integrity is improved. Thus, normal forms that rely on the definition of functional dependency include:
First Normal Form (1NF)Second Normal Form (2NF)Third Normal Form (3NF)Boyce-Codd Normal Form (BCNF)Learn more about Relational database: https://brainly.com/question/28390902
#SPJ4
an after-school care center allows children to browse the internet. they want to limit the websites that the children can access. which of the following network hosts would most likely provide this service?
Since an after-school care center allows children to browse the internet, the term that network hosts would most likely provide of this service is option A: Proxy server
What exactly is a proxy server?A system or router known as a proxy server acts as a gateway between users and the internet. Thus, it aids in preventing online attackers from accessing a private network.
Therefore, in the case above, A proxy server serves as a mediator between a computer and the internet because it has its own IP address. Your computer is aware of this address, and when you send a request over the internet, it is forwarded to the proxy. The proxy then receives the response from the web server and passes the page's data to your computer's browser, such as Chrome, Safari, Firefox, or Microsoft Edge.
Learn more about Proxy server from
https://brainly.com/question/28075045
#SPJ1
See full question below
An after-school care center allows children to browse the internet. They want to limit the websites that the children can access.
Which of the following network hosts would MOST likely provide this service?
Proxy server
Web server
DHCP server
Print server
example: after the successful deployment of the on-call scheduling system, your company approaches you with another new project. this time, the company would like to build a cloud that allows its employees to have virtual workstations for highly sensitive material. assuming that users will likely need to install new application, libraries, and other software, which type of cloud infrastructure is most appropriate for this application?
The type of cloud infrastructure that is most appropriate for this application is PaaS. The correct option is C.
What is PaaS?Application or platform as a service Platform as a service, also known as platform-based service, is a type of cloud computing service that allows customers to provision, instantiate, run, and manage their own servers.
PaaS, or platform as a service, is a cloud-hosted platform that provides on-demand access to a complete, ready-to-use platform for developing, running, maintaining, and managing applications.
Software as a service, or SaaS, provides on-demand access to ready-to-use, cloud-hosted application software.
Because the company wants to build a cloud that will allow its employees to have virtual workstations for highly sensitive material.
Given that users will most likely need to install new applications, libraries, and other software, the best cloud infrastructure for this application is PaaS.
Thus, the correct option is C.
For more details regarding PaaS, visit:
https://brainly.com/question/20600180
#SPJ1
Your question seems incomplete, the missing options are:
a) DaaS
b) SaaS
c) PaaS
d) IaaS
Which of the following are used to compare performance and efficiency of algorithms?
Answer:
Security has nothing to do with how well an algorithm performs. Algorithms are just sets of instructions on how to do something. These steps can be really efficient or inefficient.
All of the others are correct
Simple and easy way please.
The purpose of this homework is for you to get practice applying many of the concepts you have learned in this class toward the creation of a routine that has great utility in any field of programming you might go into. The ability to parse a file is useful in all types of software. By practicing with this assignment, you are expanding your ability to solve real world problems using Computer Science. Proper completion of this homework demonstrates that you are ready for further, and more advanced, study of Computer Science and programming. Good Luck!
Steps:
Download the file "Homework10.java Download Homework10.java" (Don't forget to add your name to the comments section before submitting!)
Create a new project called "Homework10" and create a package called "Main." Use the drag and drop method to add the file mentioned above to the "Main" package. Also add the "EZFileWrite.java" and "EZFileRead.java" files from homework #8 to the "Main" package.
The first portion of the main method should NOT be modified. This is what I wrote to save the text file on to your hard drive in the proper place. Originally, I was going to have you download the text file and copy it to the proper class path but I chose this so you don't have to worry about class paths at this point (but you should learn in your own time if you want to develop software.)
Read the assignment specifications on the following pages and implement ALL of these into your program for full credit. You will only get the full 50 points if you complete everything listed without compiler errors, warnings, or runtime errors. Paying attention to details is a key skill needed in programming and Computer Science!
View lecture notes for relevant topics to refresh your understanding of arrays, file I/O, looping, and converting between one variable type and another. You are free to ask questions about the homework in class or during office hours. I will not tell you how to write the assignment but I can help with clarifying concepts that might help YOU write it.
A high level programming language is Java. The claim that "Bytecode is platform independent" is true. Second, neither the Java Virtual Machine (JVM) nor Just-In-Time (JIT) generate intermediate bytecodes or object codes.
Code in java
package Main;
import java.util.StringTokenizer;
public class Homework10 {
public static void main(String[] args) {
EZFileWrite efw = new EZFileWrite("parse.txt");
efw.writeLine("Shawshank Redemption*1994*Tim Robbins*2.36");
efw.writeLine("The Godfather*1972*Al Pacino*2.92");
efw.writeLine("Raging Bull*1980*Robert De Niro*2.15");
efw.writeLine("Million Dollar Baby*2004*Hilary Swank*2.2");
efw.writeLine("Straight Outta Compton*2015*Jason Mitchell*2.45");
efw.saveFile();
// End of the test
// TODO: Create code to load the text file into memory, parse it, and meaningfully display the data.
// (To complete the assignment and receive full credit, follow the instructions in the handout.)
EZFileRead efr = new EZFileRead("parse.txt");
int efrLength = efr.getNumLines();
String[] movies = new String[efrLength];
int[] years = new int[efrLength];
String[] stars = new String[efrLength];
float[] runtimes = new float[efrLength];
for (int index = 0; index < efrLength; ++index) {
String raw = efr.getLine(index);
StringTokenizer st = new StringTokenizer(raw, "*");
movies[index] = st.nextToken();
years[index] = Integer.parseInt(st.nextToken());
stars[index] = st.nextToken();
runtimes[index] = Float.parseFloat(st.nextToken());
}
printStringArrayWithHeader("MOVIES", movies);
printIntArrayWithHeader("YEARS", years);
printStringArrayWithHeader("STARS", stars);
printFloatArrayWithHeader("RUNTIMES", runtimes);
}
private static void printStringArrayWithHeader(String headerName, String[] stringArray) {
printHeaderName(headerName);
for (int index = 0; index < stringArray.length; ++index) {
System.out.println(stringArray[index]);
}
}
private static void printIntArrayWithHeader(String headerName, int[] intArray) {
printHeaderName(headerName);
for (int index = 0; index < intArray.length; ++index) {
System.out.println(intArray[index]);
}
}
private static void printFloatArrayWithHeader(String headerName, float[] floatArray) {
printHeaderName(headerName);
for (int index = 0; index < floatArray.length; ++index) {
System.out.println(floatArray[index]);
}
}
private static void printHeaderName(String headerName) {
System.out.println("-----" + headerName + "-----");
}
}
To know more about java, check out:
https://brainly.com/question/25458754
#SPJ1
You have created your narrative and visuals, so now it’s time to build a professional and appealing slideshow. You choose a theme that matches the tone of your presentation. Then, you create a title slide with a title, subtitle, and the date.
Next, you create the following slide about electric vehicle sales in 2015 compared to 2020:
After reviewing it, you decide to decrease the number of words on your slide. For what reasons will this make your slide more effective? Select all that apply.
Multiple Choice Question. Please Choose The Correct Options ✔
A
Slide text should be no more than 10 lines total
B
The text shouldn’t simply repeat the words you say
C
The font size is too small for your audience to read
D
Slide text should be fewer than 25 words total
B. The text should not simply repeat your words. If you're making a presentation in Microsoft PowerPoint, keep your explanation as simple as possible. To make your slide more effective, avoid repeating the same word.
What is MS Powerpoint?
Ms PowerPoint is an application that is used to create presentations. On April 20, 1987, Microsoft PowerPoint was released. Robert Gaskins and Dennis Austin created it. They are the work of Forethought, Inc., a software company. Ms paid about $14 million for PowerPoint three months after it debuted. With Microsoft PowerPoint, you can create presentations that include text, images, transitions, and animation.
To learn more about Microsoft PowerPoint, visit: brainly.com/question/10444759
#SPJ4
the user hansen7o9 has tried multiple times to access her account but was using the wrong password. she thinks the system has now locked her out. assuming your system employs pam for authentication, which of the following utilities can you use to see if her account was locked out due to failed login attempts?
The utilities that can be used to see if her account was locked out due to failed login attempts are fail lock and pam_tally2. The correct options are A and C.
What is pam tally2 or fail lock utilities?The pam tally2 or faillock utilities, depending on how Pluggable Authentication Modules (PAMs) are used in your system, will enable you to determine whether the user was locked out of the system as a result of unsuccessful login attempts.
Option D is inadmissible. Instead of PAM, the ausearch command is used with AppArmor. B and E are wrong answers. Instead of PAM, SELinux uses the sealert and id -Z commands.
Therefore, the correct options are A. faillock, and C. pam_tally2.
To learn more about fail lock utilities, refer to the link:
https://brainly.com/question/28739318
#SPJ1
The question is incomplete. Your most probably complete question is given below:
Each correct answer represents a complete solution. Choose all that apply.
A. faillock
B. sealert
C. pam_tally2
D. ausearch
E. id -Z
With respect to iot security, what term is used to describe the digital and physical vulnerabilities of the iot hardware and software environment?.
The term used to describe the digital and physical vulnerabilities of the IoT hardware and software environment is "attack surface."
What term is used to describe the digital and physical vulnerabilities of the IoT hardware and software environment?An attack surface is the totality of the different points of entry into a system that an adversary can use to gain access and control of the system. In the context of IoT security, the attack surface refers to the digital and physical vulnerabilities of the IoT hardware and software environment, such as:
Insecure authentication protocolsUnencrypted data transferUnsecured physical access pointsBy understanding the attack surface of an IoT system, organizations can identify and address potential security threats and vulnerabilities before they can be exploited.
Learn more about the IoT system: https://brainly.com/question/7973509
#SPJ4