Answer:
=MATCH() returns the position of a cell in a row or column. Combined, the two formulas can look up and return the value of a cell in a table based on vertical and horizontal criteria.
test 12 questiona 4 5 6 7
Flag question: Question 4
The dictionary dcn is initialized as shown:
dcn = {"x": 10, "y": 20, "z": 30}
Which of the following statements would return True?
"x" in dcn
10 in dcn
Group of answer choices
I only
II only
I and II
Neither I nor II
Flag question: Question 5
What is printed by the following code?
seats = {"Jones": 44, "Nielsson": 46, "Nsona": 50}
changes = {"Jones": 48, "Rodriguez": 52}
seats.update(changes)
print(seats)
Group of answer choices
{'Jones': 48, 'Nielsson': 46, 'Nsona': 50, 'Rodriguez': 52}
{'Jones': 48, 'Nielsson': 46, 'Nsona': 50}
{'Jones': 44, 'Nielsson': 46, 'Nsona': 50, 'Rodriguez': 52}
{'Jones': 44, 'Nielsson': 46, 'Nsona': 50, 'Jones': 48 'Rodriguez': 52}
Flag question: Question 6
Nik wants to update the dictionary dcn so that it adds the key "super" with the value "hero" to his code, but only if there is not already a key "super" in dcn. Which of the following lines of code could they use to achieve this?
Group of answer choices
dcn.setdefault("super", "hero")
dcn.update({"super": "hero"})
dcn["super"] = "hero"
dcn.get("super", "hero")
Flag question: Question 7
What will be printed by the following code?
fruit = {"apples": 8, "oranges": 12, "pears": 4}
number = fruit.get("oranges", 0) + fruit.get("bananas", 0)
print(number)
Group of answer choices
12
0
24
Nothing is printed, there is an error.
4. I only
5. {'Jones': 48, 'Nielsson': 46, 'Nsona': 50, 'Rodriguez': 52}
6. dcn.setdefault("super", "hero")
7. 12
Which step must you do first before you can use a block that says "change score by 1"?
O Use "Make a variable" to create a variable named score.
Set score to 0.
O Use "show variable" to display the score.
Set my variable to 0.
The step must you do first before you can use a block that says "change score by 1" is Use "Make a variable" to create a variable named score.
What is the step?In order to utilize the "change score by 1" block, it is imperative to establish a variable that can keep a record of the score. The score will be monitored and increased accordingly using the variable. The initial action required entails utilizing the "Make a variable" block to establish a variable labeled as score.
After establishing the variable, you are able to utilize the block that says "increase score by 1" to add 1 to the score every time it is employed. Furthermore, the "display variable" block can be utilized to exhibit the present score.
Learn more about variable from
https://brainly.com/question/28248724
#SPJ1
Below are some important questions to consider:
1. Given what you have learned about potential careers for you, what kind of education will you need?
2. What are three (3) things you can do now to start your path towards these careers?
3. Why is it important to research your career options?
4. What are three things you have learned about the relationship between income and the careers in which you are interested?
1. To pursue a career in a specific field, the education required can vary depending on the job.
2. Three things you can do to start your path toward your desired career include gaining relevant experience, building a professional network, and pursuing relevant education and training.
3. Researching your career options is important because it can help you make informed decisions about your future.
4. Three things to consider regarding the relationship between income and careers include Different careers have different earning potentials, income can also be influenced by factors, and choosing a career path
1. The education required for potential careers can vary depending on the specific field. It's important to research the education and training requirements for each career option you're considering. For example, if you're interested in a career in healthcare, you may need to complete a degree or certification program in a related field like nursing or medical assisting. On the other hand, if you're interested in a career in technology, you may need to pursue a degree in computer science or a related field.
2. Three things you can do to start your path towards your desired career include: (1) gaining relevant experience through internships, part-time jobs, or volunteer work in your field of interest; (2) building a professional network by attending industry events, joining professional organizations, or connecting with professionals on LinkedIn; and (3) pursuing relevant education and training, such as taking courses or earning certifications in your field.
3. Researching your career options is important for several reasons. First, it helps you understand the qualifications and skills required for different jobs, allowing you to plan your educational and professional development accordingly. Second, it helps you assess your interests, values, and personality traits to determine which careers are the best fit for you. Finally, researching your career options allows you to gain insights into industry trends, job outlooks, and salary expectations, enabling you to make informed decisions about your career path.
4. Three things to consider regarding the relationship between income and careers include: (1) different careers have different earning potentials, with some jobs offering higher salaries than others; (2) income can also be influenced by factors such as education, experience, location, and industry; and (3) it is important to consider factors beyond income, such as job satisfaction, work-life balance, and personal fulfillment when choosing a career path.
Know more about the Career here :
https://brainly.com/question/25879605
#SPJ11
Question 7 of 10
What is a network?
A. Many people or things that are individually connected to one
another
OB. The main idea or information contained in a media piece
OC. A means of mass communication in print and other forms
OD. A group of individuals who share the same ideas and values
SUBMIT
A group of individuals who share the same ideas and values is a network.
Thus, Two or more computers connected together to share resources (such printers and CDs), exchange files, or enable electronic communications make up a network.
A network's connections to its computers can be made by cables, phone lines, radio waves, satellites, or infrared laser beams.
A network that is contained inside a very limited region is known as a local area network (LAN). It is typically constrained to a certain location, such a writing lab, building, or school.
Servers and workstations are the two primary categories of computers that are networked. In most cases, servers are not directly used by people; instead, they run continually to offer "services" to the other computers on the network and their human users.
Thus, A group of individuals who share the same ideas and values is a network.
Learn more about Network, refer to the link:
https://brainly.com/question/29350844
#SPJ1
Rewrite the non-stop simple calculator as multi-value witch case program.
C program
The non-stop simple calculator as multi-value witch case program in C is
#include <stdio.h>
int main() {
int choice;
float num1, num2, result;
printf("Enter two numbers: ");
scanf("%f %f", &num1, &num2);
printf("\nSelect an operation to perform:\n");
printf("1. Addition\n");
printf("2. Subtraction\n");
printf("3. Multiplication\n");
printf("4. Division\n");
scanf("%d", &choice);
switch(choice) {
case 1:
result = num1 + num2;
printf("\n%.2f + %.2f = %.2f\n", num1, num2, result);
break;
case 2:
result = num1 - num2;
printf("\n%.2f - %.2f = %.2f\n", num1, num2, result);
break;
case 3:
result = num1 * num2;
printf("\n%.2f * %.2f = %.2f\n", num1, num2, result);
break;
case 4:
if (num2 == 0) {
printf("\nError: Division by zero\n");
} else {
result = num1 / num2;
printf("\n%.2f / %.2f = %.2f\n", num1, num2, result);
}
break;
default:
printf("\nError: Invalid choice\n");
}
return 0;
}
How can you have many values in a switch case?In Java, you may use the case label for each value or the case label with a range of values to utilize two values in a switch case statement.
This will return "1 or 2" for the first and second values, and "3" for the third.
C is a programming language for general-purpose computers. Dennis Ritchie invented it in the 1970s, and it is still extensively used and influential today. C's characteristics are designed to accurately match the capabilities of the targeted CPUs.
Learn more about C program:
https://brainly.com/question/30905580
#SPJ1
Scientists measure an employee’s work done in joules,distance in kilometers and force in newtons. If you know the force on the object and the distance travelled, you can calculate its work done in joules, with the following formula: work done= Force * Distance;Scientist need a computer program that can help them calculate the work done in joules. The program should prompt a scientist to enter an object’s Force in newton and distance in kilogram. The program should then calculate and displays its workdone . If the workdone more than 5000 joules, display a message indicating that The force is too much, if it is less than or equal to 5000 joules display a message indicating that force is too light.The program should keep calculating the work done and display the message as long as the user to entered value for the Force is not negative .Write a Pseudocode and draw a flowchart for the program
The pseudocode and the flowchart based on the question requirements are given below:
Pseudocode:Prompt the scientist to enter the Force in newtons.
If the entered Force is negative, go back to step 1 and prompt again.
Prompt the scientist to enter the distance in kilograms.
Calculate the work done using the formula: workdone = Force * distance.
If workdone > 5000, display "The force is too much."
If workdone <= 5000, display "The force is too light."
Flowchart:
[Start] -> [Prompt Force]
↓
[Check Force]
↓
[Prompt Distance]
↓
[Calculate workdone]
↓
[Check workdone]
↓
[Display appropriate message]
↓
[End]
Read more about pseudocode here:
https://brainly.com/question/24953880
#SPJ1
What's the full meaning of BASIC in high level programming
Answer:
BASIC (Beginners' All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages designed for ease of use.
Which devices are separate pieces that when combined together make a desktop computer? Choose five answers. 0000 Scanner Monitor Keyboard Stylus External speakers Mouse Tower
There are five devices that, when combined together, make a desktop computer. These devices include a tower, monitor, keyboard, mouse, and external speakers.
The tower, also known as the computer case or CPU, is the main component that houses the motherboard, power supply, and other important hardware components. It is responsible for processing and storing data.
The monitor is the visual display unit that allows users to see and interact with their computer. It can come in various sizes and resolutions, depending on the user's needs.
The keyboard and mouse are input devices that allow users to input data and interact with their computer. The keyboard is used to type text and commands, while the mouse is used to navigate and select items on the screen.
Lastly, external speakers can be added to a desktop computer to enhance the audio experience. They allow users to hear music, sound effects, and other audio elements more clearly.
Overall, these five devices work together to create a fully functional desktop computer. While there are other optional components that can be added, such as a scanner or stylus, these five devices are essential for any desktop setup.
For more such questions on desktop, click on:
https://brainly.com/question/29921100
#SPJ11
What is recent trend relating to sustainability world wide
Answer:
A recent, noticeable trend relating to global sustainable is the reduction in usage of non-renewable resources and carbon emissions eg: reducing the carbon footprint
Which of the following is true of a constant? Choose all that apply
1) it cannot be changed by the program
2) it is data type
3) it is a procedure in a block of code
4)it can be changed by the program as it runs
The following statements are true of a constant:
it cannot be changed by the programit is a data typeTherefore, the correct options are 1) and 2).
What is a data type?A data type is a collection or grouping of data values in computer science and computer programming, often defined by a set of potential values, a set of allowable actions on these values, and/or a representation of these values as machine types.
Data types provide the semantics and storage properties of data components in the C programming language. They are stated as declarations for memory locations or variables in the language syntax. The types of operations or techniques of processing data pieces are also determined by data types.
Learn more about data type at:
https://brainly.com/question/30615321
#SPJ1
Routers know where to send a network packet because they read the
✔ control information
contained in the packet. The
✔ payload
is the information that a user wants to send. A(n)
✔ e-mail message
is an example of a payload.
Routers determine the destination of a network packet by analyzing the control information embedded within the packet
How do routers do this?Routers utilize the control information included in a network packet to ascertain its intended destination. The control information consists of addressing data and routing headers that aid the router in determining the best path for forwarding.
The payload, in contrast, pertains to the tangible content or data that an individual aims to send. One example of a payload is an email which serves to deliver both the content and accompanying attachments.
Routers make effective use of control information to accurately guide the payload towards its intended destination within the network.
Read more about routers here:
https://brainly.com/question/28180161
#SPJ1
What's the full meaning of COBOL,FORTRAN,PL1,dBASE,ALGOL,RRG,APL,LISP,PROLOG,PASCAL in high level programming
Answer:
this doesn't scare me
Explanation:
COBOL(Common Business-Oriented Language) is a high-level programming language for business applications. It was the first popular language designed to be operating system-agnostic and is still in use in many financial and business applications today
FORTRON(FORmula TRANslation) general-purpose, compiled imperative programming language that is especially suited to numeric computation and scientific computing.
(Programming Language One) procedural, imperative computer programming language developed and published by IBM
dBASE( arbitrary name) was one of the first database management systems for microcomputers
... look mister I got tons of anime to watch
b. Windows operating system provides. easy to operate computer. After completing the work in the computer, you need t the computer. C. d. Once you started your computer, what you see on the screeni called ...........….... e. f. g. ... so it is ver The small picture buttons that represent commands, programs files of folders are called The start button is replaced by....... A file name has two parts file name and in Windows-8. name.
Explanation:
b. Windows operating system provides an easy-to-use interface to operate the computer. After completing work on the computer, you need to shut down the computer properly to avoid any data loss or damage.
c. Once you start your computer, what you see on the screen is called the desktop.
d. The small picture buttons that represent commands, programs, files or folders are called icons.
e. In Windows 8 and later versions, the Start button is replaced by the Start screen, which displays a tile-based interface of apps and shortcuts.
f. A file name has two parts, the filename and the file extension, separated by a dot. The file extension indicates the type of file and determines which program can open it.
g. So it is very important to use the correct file extension when saving a file in Windows-8, as it can affect the ability of other programs to open or use the file.
What is the prerequisite for taking the CompTIA Networking+ certification?
A.
CompTIA A+
B.
Microsoft Office Specialist (MOS)
C.
Cisco Certified Network Professional (CCNP)
D.
no prerequisites
There are no prerequisites for taking the CompTIA Network+ certification exam. CompTIA designed the Network+ certification to serve as an entry-level credential for individuals who want to start a career in the field of networking. So, Option D is the right choice.
The Network+ certification is vendor-neutral, meaning it covers networking concepts and technologies that are applicable across different vendors and platforms. It validates the foundational knowledge and skills required to design, configure, manage, and troubleshoot wired and wireless networks.
By not having any prerequisites, CompTIA allows individuals from various backgrounds to pursue the Network+ certification. Whether you are a newcomer to the IT industry or have some experience in networking, you can choose to take the certification exam without having to fulfill any specific requirements. While there are no prerequisites, it is recommended that candidates have a basic understanding of computer hardware and operating systems, as well as some experience with networking concepts. This can be achieved through self-study, networking courses, or other relevant work experience.
It is important to note that while there are no prerequisites, the Network+ certification is still considered a mid-level certification and can be challenging. It is beneficial to prepare for the exam by studying networking fundamentals, protocols, network troubleshooting, network security, and related topics to increase your chances of success.
For more questions on CompTIA Networking+ certification
https://brainly.com/question/31968096
#SPJ11
Report on four reasons why most communities do not benefit from provisions in the National Water Act of 1998
The National Water Act of 1998 in many countries is designed to ensure the sustainable use and management of water resources for the benefit of all communities. However, there are several reasons why most communities do not fully benefit from the provisions outlined in this act. Here are four key reasons:
1. Lack of Infrastructure: One of the primary reasons is the inadequate infrastructure in many communities. This includes the absence of proper water supply systems, treatment plants, and distribution networks. Without sufficient infrastructure, communities struggle to access clean and reliable water services, thereby limiting the benefits they can derive from the provisions of the National Water Act.
2. Limited Financial Resources: Communities often face financial constraints that hinder their ability to implement and maintain water management projects. The cost of infrastructure development, maintenance, and operation can be substantial, making it challenging for communities with limited financial resources to fully comply with the provisions of the National Water Act.
3. Lack of Awareness and Capacity: Many communities are unaware of their rights and obligations under the National Water Act. There is a lack of awareness and understanding of the importance of sustainable water management practices, water conservation, and efficient water use. Additionally, communities may lack the technical capacity and expertise needed to effectively implement and enforce the provisions of the act.
4. Governance and Implementation Challenges: Weak governance structures and inadequate enforcement mechanisms pose significant challenges to the effective implementation of the National Water Act. Corruption, lack of coordination between government agencies, and insufficient regulatory frameworks can hinder the equitable distribution of water resources and undermine the intended benefits for communities.
In conclusion, the limited benefit experienced by most communities from the provisions of the National Water Act can be attributed to factors such as inadequate infrastructure, financial constraints, lack of awareness and capacity, and governance challenges. Addressing these issues requires concerted efforts from various stakeholders, including government bodies, community organizations, and civil society, to ensure the sustainable and equitable management of water resources for the benefit of all communities.
Kindly Heart and 5 Star this answer, thanks!Which description would be most accurate for sans serif fonts?
A: Creative look
B: Basic Design
C: Flowery Script
D: Loses readability when size is reduced
The most accurate description for sans-serif fonts would be Basic Design. Sans-serif fonts are characterized by their clean and simple appearance, lacking the small decorative lines or strokes known as serifs that are present in serif fonts. So, the correct choice is Option B.
Sans-serif fonts have a modern and minimalist aesthetic, making them widely used in various design contexts, including print and digital media. They are known for their legibility and readability, particularly at smaller sizes and on screens, due to their straightforward and uncluttered design. Unlike serif fonts, which often convey a more traditional or formal feel, sans-serif fonts are versatile and can adapt to different design purposes. They are commonly associated with a more contemporary and streamlined look. Their simplicity allows them to be easily readable even in large blocks of text, making them suitable for body text in documents, websites, and presentations.
While it is true that some sans-serif fonts can have a creative or artistic appearance, it is not a defining characteristic of the entire category. Sans-serif fonts can be designed with various styles and weights, allowing for a range of visual expressions, from bold and assertive to elegant and refined.
In terms of readability, sans-serif fonts generally maintain their legibility even when sized down. They are often preferred for digital interfaces and mobile devices where screen real estate is limited. However, it is essential to choose an appropriate font size and style to ensure optimal readability in any context.
For more questions on sans serif fonts
https://brainly.com/question/12190181
#SPJ11
OJT Experience 2023
1. What is your work?
2. What is your schedule tome of work from Monday to Friday? Shifting time or changes every week?
3. How is your relationship with your supervisor (hearing boss)
4. Do you have hearing friends in your work?
5. How do you communicate in the workplace?
6. How do you manage/ budget your time?
7. How do you discipline yourself by not being late and absent?
8. What did you learn from your OJT?
During my OJT hours, I was determined to work hard in order to complete all of the tasks set to me by my employer. It was my duty and responsibility to work without hesitation to offer excellent work that would impress the people around me inside the firm in a professional manner.
What was my work?My work had to do with understudying other permeant employees and helping them in delegated tasksMy schedule was was from Monday to FridayThe relatioship with my bos was cordial and pofssionalYes, I made friends at workCommunication was professional at work and regular when relating with friends outside workI was very strick with time and budget.Discipline was ahcievd by planning aheadI learnt to be professional and to manage time well.Learn more about OJT:
https://brainly.com/question/29852472
#SPJ1
Complete the code to draw a rectangle wider than it is high.
from turtle import *
forward(
right(90)
forward(
right(90)
forward(
right(90)
forward(
The completed code that draws a rectangle wider than it is high.
from turtle import is
from turtle import *
# Move the turtle to the starting position
up()
goto(-100, 0)
down()
# Draw the rectangle
forward(200) # draw the longer side
right(90)
forward(100) # draw the shorter side
right(90)
forward(200) # draw the longer side
right(90)
forward(100) # draw the shorter side
done()
Code is a set of rules used in communications and information processing to change information.
Some of those information are a letter, word, sound, picture, or gesture—into another form, often abridged or secret, for transfer over a communication channel or storage in a storage media.
Learn more abut code:
https://brainly.com/question/14461424
#SPJ1
Auto-Invest enables users to buy crypto on a recurring basis. What investment strategy is applied?
carry out the binary arithmetic 10100+1010-1010-1010
Hello !
64 32 16 8 4 2 1
1 0 1 0 0
1 0 1 0
10100 => 20
1010 => 10
20 + 10 - 10 - 10 = 10
binary : 10100 + 1010 - 1010 - 1010 = 1010
4. In Six Sigma processes, very few
products fall outside specifications because
there are at least six
between the
mean value and specification limits.
A. sprints
B. processes
C. normal distributions
D. standard deviations
In Six Sigma processes, very few products fall outside specifications because there are at least six standard deviations between the mean value and specification limits. (Option D)
What are the six Sigma Processes?Six Sigma processes have a specification limit that is 6 times the sigma (standard deviation) from the mean. In other terms, the 6 refers to the capacity to match the process's excellent outputs within 6 standard deviations (or sigmas).
Six Sigma is an acronym that stands for six standard deviations (6SD) between the average and permissible limits. LSL and USL are abbreviations for "Lower Specification Limit" and "Upper Specification Limit." Specification Limits are generated from client needs and establish the process's minimum and maximum permissible limits.
Learn more about Six Sigma Processes:
https://brainly.com/question/29993908
#SPJ1
Identify the role of professional bodies for IT.
Explanation:
Professional bodies for IT, such as the Institute of Electrical and Electronics Engineers (IEEE), the Association for Computing Machinery (ACM), and the British Computer Society (BCS), play an important role in the field of information technology. Some of the key roles of professional bodies for IT include:
1. Setting standards: Professional bodies for IT set standards for the ethical and professional conduct of IT professionals. They establish codes of conduct and best practices that help to ensure that IT professionals act with integrity, respect, and responsibility.
2. Providing education and training: Professional bodies for IT provide education and training opportunities to help IT professionals stay up-to-date with the latest technologies, trends, and best practices. They offer certifications and continuing education programs that can enhance the skills and knowledge of IT professionals.
3. Promoting networking and collaboration: Professional bodies for IT provide opportunities for IT professionals to network and collaborate with each other. They organize events, conferences, and workshops that bring together IT professionals from different sectors and disciplines, allowing them to share ideas, learn from each other, and build professional relationships.
4. Advocating for the profession: Professional bodies for IT advocate for the interests of IT professionals and the IT industry as a whole. They work to promote the value of IT to society, influence public policy related to IT, and raise awareness of issues that affect the profession and the industry.
Overall, professional bodies for IT play a vital role in promoting the development and growth of the field of information technology. They help to ensure that IT professionals act with integrity and professionalism, provide education and training opportunities to enhance skills and knowledge, facilitate networking and collaboration among IT professionals, and advocate for the interests of the profession and the industry.
Noor's Scrum Team had a great Sprint Review of a new feature with their Product Owner.
Product Owner was happy with new feature, and wanted to release the feature to user. But,
the Scrum Team cannot do it themselves because production environment is owned the
company's IT operations team. Scrum Team was directed to create a ticket with IT
operations for production release, and wait a week for an Ops engineer to manually work
on the ticket. What is missing in this environment?
Select the correct option(s) and click submit.
Feedback
Flow
Continuous Improvement
The correct option that is missing in this environment is "Flow."
Flow refers to the smooth and continuous movement of work through different stages in a process. In an ideal Agile environment, the goal is to have a seamless flow of work from development to production, with minimal delays and handoffs. However, in the scenario described, there is a bottleneck in the flow of work.
The Scrum Team has completed the development of a new feature and had a successful Sprint Review with the Product Owner. The Product Owner is satisfied and wants to release the feature to the users. However, the Scrum Team is unable to release it themselves because the production environment is owned by the company's IT operations team.
This delay in the production release process hampers the flow of work. Ideally, in an Agile environment, there should be a focus on automating the deployment process, implementing continuous integration and delivery (CI/CD) pipelines, and empowering the Scrum Team to release their features independently. This allows for faster and more frequent deployments, reducing waiting times and enabling a smoother flow of work from development to production.
know more about Scrum Team here:
https://brainly.com/question/30159085
#SPJ11
project stem 12.3 question 2 please help
Instructions
Write a method find_mean that finds the mean (average) of all the values in a dictionary parameter and returns it. You may assume that all values stored in the dictionary are numbers.
For, example the following call:
d = {"first": 1.5, "second": 8.5, "third": 6.5}
find_mean(d)
should return the number 5.5.
def find_mean(dict):
return sum(dict.values()) / len(dict)
2. Match the parts of software applications with what they do
1. Ribbon
a. the control center for using the application
b. part of the ribbon that contains important tasks within an application
2. Tab
3 Menu bar
c. a row of icons or buttons
d. lists sets of commands
- 4 Toolbar
e. move from part of a window to another.
top row of an application window, displays the name of the document
g shows the information about the program and other useful messages
- 5. Title bar
6. Scroll
7 Workspace
h the largest area of a program's window
8 Status bar
SANT
The match is given like this
Ribbon: Part of the user interface that contains important tasks within an application.
Tab: A set of related commands or options in a program.
Menu bar: A row of menus at the top of a program window that lists sets of commands.
Toolbar: A row of icons or buttons used to execute frequently-used commands in an application.
Title bar: The top row of an application window that displays the name of the document.
Scroll: To move from one part of a window to another.
Workspace: The largest area of a program's window where the user can work on documents or data.
Status bar: Displays information about the program and other useful messages, such as the current status of a process or the state of a particular tool or setting.
What is the definition of a software?A collection of computer programs, documentation, and data is referred to as software. This is in contrast to hardware, which is the system's base and conducts the actual work.
Software is a collection of instructions, data, or programs that are used to run machines and perform certain tasks. It is the inverse of hardware, which describes the physical components of a computer. Apps, scripts, and programs that run on a device are referred to as software.
Learn more about software at:
https://brainly.com/question/1022352
#SPJ1
C++ code
Your task is to write a program that parses the log of visits to a website to extract some information about the visitors. Your program should read from a file called WebLog.txt which will consist of an unknown number of lines. Each line consists of the following pieces of data separated by tabs:
IPAddress Username Date Time Minutes
Where Date is in the format d-Mon-yy (day, Month as three letters, then year as two digits) and Time is listed in 24-hour time.
Read in the entire file and print out each record from April (do not print records from other months) in the format:
username m/d/yy hour:minuteAM/PM duration
Where m/d/yy is a date in the format month number, day number, year and the time is listed in 12-hour time (with AM/PM).
For example, the record:
82.85.127.184 dgounin4 19-Apr-18 13:26:16 13
Should be printed as something like:
dgounin4 4/19/18 1:26PM 13
At the top of the output, you should label the columns and the columns of data on each row should be lined up nicely. Your final output should look something like:
Name Date Time Minutes
chardwick0 4/9/18 5:54PM 1
dgounin4 4/19/18 1:26PM 13
cbridgewaterb 4/2/18 2:24AM 5
...(rest of April records)
Make sure that you read the right input file name. Capitalization counts!
Do not use a hard-coded path to a particular directory, like "C:\Stuff\WebLog.txt". Your code must open a file that is just called "WebLog.txt".
Do not submit the test file; I will use my own.
Here is a sample data file you can use during development. Note that this file has 100 lines, but when I test your program, I will not use this exact file. You cannot count on there always being exactly 100 records.
Hints
Make sure you can open the file and read something before trying to solve the whole problem. Get your copy of WebLog.txt stored in the folder with your code, then try to open it, read in the first string (195.32.239.235), and just print it out. Until you get that working, you shouldn't be worried about anything else.
Work your way to a final program. Maybe start by just handling one line. Get that working before you try to add a loop. And initially don't worry about chopping up what you read so you can print the final data, just read and print. Worry about adding code to chop up the strings you read one part at a time.
Remember, my test file will have a different number of lines.
You can read in something like 13:26:16 all as one big string, or as an int, a char (:), an int, a char (:), and another int.
If you need to turn a string into an int or a double, you can use this method:
string foo = "123";
int x = stoi(foo); //convert string to int
string bar = "123.5";
double y = stod(bar); //convert string to double
If you need to turn an int or double into a string use to_string()
int x = 100;
string s = to_string(x); //s now is "100"
A good example C++ code that parses the log file and extracts by the use of required information is given below
What is the C++ code?C++ is a widely regarded programming language for developing extensive applications due to its status as an object-oriented language. C++ builds upon and extends the capabilities of the C language.
Java is a programming language that has similarities with C++, so for the code given, Put WebLog.txt in the same directory as your C++ code file. The program reads the log file, checks if the record is from April, and prints the output. The Code assumes proper format & valid data in log file (WebLog.txt), no empty lines or whitespace.
Learn more about C++ code from
https://brainly.com/question/28959658
#SPJ1
15 POINTS!!!! PLEASE HELP!!!!!
Chris is a project manager. He has sent a questionnaire to all of the stakeholders and he has scheduled a meeting to capture lessons learned. Chris is___?
meet a person who is living far away from the family for a long time.ask question about her/his feelings about homesickness.Then write a report ?
The report based on the interview asked in the question is given below:
The ReportInterviewer: How do you feel about being away from your family for so long?
Person: It's tough. I'm homesick all the time. I miss my family and hometown, longing to share in their daily lives. I acknowledge personal growth from a distance but maintain contact through calls and visits. Staying connected grounds me and reminds me of the love back home, despite challenges.
Report: Emotional complexities of long-distance living revealed. They acknowledged personal growth and stay connected through regular communication despite their separation.
Read more about reports here:
https://brainly.com/question/23228258
#SPJ1
The world has entered the threshold of Big Data Control economy and many nations have formed a magnificent digital colony within. The digital firestorm has emerged and weaponization of Data has taken center stage! Nations that control Data today will ultimately control the future. True or false?
3.1 Briefly describe the steps on how browser displays requested web pages
Answer:
One must have a computer to display a webpage.
Explanation:
And the internet too.