Write a program that asks the user for the name of a text file. the program should display the last 10 lines of the file on the screen

Answers

Answer 1
The only thing that I know is that after you input the text file, it could either:
-save those lines as a variable
-display the text file
However any more would be dependent on the language.

Related Questions

Submitting a cover letter and resume is a step in the process of applying for a job.

Answers

Very True

When applying for jobs, candidates are required to understand how the job application process works. Getting your Resume ready and being able to write a well-crafted cover letter might guarantee you that job. There are different approaches of submitting a cover letter and a Resume via email. You can always cut and paste your actual cover letter or attach both documents as separate documents to your email.      

 

 

 



Brittany is looking to advance in her current career. She is creating a plan to help strengthen and increase her skills. What question should she ask herself? What areas do I need to improve? What should I wear when I interview? When should I apply for a new job? Who do I know that can give me a better job?

Answers

Answer:

The correct answer is What area's do I need to improve.

Explanation:

This will help her alot

Answer:

A) What areas do I need to improve?

Explanation:

To strengthen her skills she needs to improve and be better.

You can upgrade a cpu by adding registers and cache memory to it.
a. True
b. False

Answers

False, to upgrade a CPU, you need to replace the CPU with a better CPU.

12. Which of the following is CourseBit®? (1 point)

an online class focused on drawing for architectural purposes

a leading Moodle™ development and hosting provider that focuses on highly customized systems

an icon in Blender® that allows you to easily switch between screens

a widget with which all animators should be familiar



13. In Blender®, which interface principle corresponds to the user interface that allows a user to view all options and tools at a glance with pushing or dragging editors around? (1 point)

non-blocking

non-overlapping

non-modal

non-confrontational

Answers

12. Which of the following is CourseBit®? 
a leading Moodle™ development and hosting provider that focuses on highly customized systems

13. In Blender®, which interface principle corresponds to the user interface that allows a user to view all options and tools at a glance with pushing or dragging editors around?
non-overlapping

Hope this helps.

You have a usb storage device that you cannot get working. you have enabled all appropriate usb options in the latest 2.2 kernel but still cannot get your device working. what is most likely the source of the problem?

Answers

the device might have a problem eg: a faulty usb port , or maybe you stick requires 3.0 usb ports

which of the following is not an advantage of using asynchronous data transmission

Answers

The following is not an advantage of using asynchronous data transmission :

a) Overhead of start and stop bits

b) False recognition of these bits due to noise on the channel

Answer:

Inexpensive software.

When managing dnf, what is the full path to the directory where should place .repo files?

Answers

The answer is  /etc/yum.repos.d  DNF uses /etc/yum.repos.d/ to keep a .repo file for each Internet repository. An internet repository contains packages for Linux systems. To change where Linux looks for new or updated packages, you can add .repo files to the/etc/yum.repos.d/directory.

The full path for placing .repo files when managing dnf is /etc/yum.repos.d/. This directory holds repository configuration files for the package manager.

When managing dnf (Dandified YUM), the full path to the directory where you should place .repo files is /etc/yum.repos.d/. This directory is used by the package manager to store repository files, which are used to configure the sources from which software packages can be obtained.

It is important that any .repo files added to this directory have the proper syntax to ensure the dnf package manager can read and use them correctly.

How do you calculate the total resistance in a series circuit with more than one resistor?

Answers

Resistors are said to be connected in series when they are daisy chained together in a single line. The serial circuit of resistors result  has a common current flowing through the resistors.
The current that flows through one resistor must also flow through the others.

The total equivalent resistance, is given as:

Rtotal = R1 + R2 + R3 , where R1 is the resistance of the first resistor, R2 of the second and R3 f the third

In the launch of the Space shuttle Discovery what does "auto sequence start" mean?

Answers

The countdown clock before a rocket launches is one of the most remarkable timepieces in the world. As indicated by the "T-minus" mark, the hours and minutes tick down to launch. “Auto sequence start” is a breakdown of some of the big milestones leading up to that final moment. If there are no technical issues, at T-minus 31 seconds, the ‘go’ command will be given “Auto sequence start” which means the Ground launch sequencer will hand off primary control. It will be handed off to the shuttle’s onboard computers.

References placed at the bottom of a page are known as _____.

footers
headers
endnotes
footnotes

Answers

Answer:

The correct answer is letter "D": footnotes.

Explanation:

Footnotes are additional comments on a given text usually placed at the bottom of it. They can be used in different applications such as Microsoft Office Word. In professional writing, they can be useful to cite references from where part of the text was taken or to attribute certain jobs to their authors.

References placed at the bottom of a page are called footnotes. They are a key feature of traditional note-citation styles like Turabian and Chicago. Footnotes are marked by a superscript number that corresponds to a note with additional information or citations.

References placed at the bottom of a page are known as footnotes. A footnote is the bibliographical or content note that appears at the bottom of the page in traditional note-citation styles like Turabian and Chicago. Proper Chicago style uses either footnotes or endnotes, but not both.

Notes at the bottom of each page are called footnotes, and those at the end of the document are called endnotes. Whether footnotes or endnotes, you mark a note by inserting a superscript Arabic numerals (e.g. ¹) inside the text.

Notes placed at the top of a page are known as headers, not to be confused with footnotes. And, references placed at the very end of a document or book are known as endnotes or sometimes as a bibliography or reference list, depending on the context. Note citations are a traditional documentation style that often employs footnotes.

What is the physical address of the logical address 8205?

Answers

 I don't understand your question, like what do you mean?

What is the numeric range of a 16-bit unsigned binary value?

Answers

A 16-bit integer can store 216 (or 65,536) distinct values. In an unsigned representation, these values are the integers between 0 and 65,535; using two's complement, possible values range from −32,768 to 32,767. Hence, a processor with 16-bit memory addresses can directly access 64 KB of byte-addressable memory.

References placed at the bottom of a page are known as _____.

Answers

sources, I don't think this is a computer question.
The references placed at the bottom of a page are known as citations. They are usually used to show were you have got evidence.

What is the minimum number of bits you would need to encode the 26 letters of the alphabet plus a space - a total of 27 characters?

Answers

Answer: 5 bits.

Explanation:

If we need to encode 27 characters, we will need 27 distinct symbols.

If we want to use binary numbers, that can take only one of two values (1 or 0), we need a number of bits which possible combinations, add to at least 27.

The minimum number of bits needed to represent 27 combinations, is the least power of 2, greater than 27, i.e., 2⁵ = 32.

So, it will needed at least 5 bits to represent the 26 letters of the alphabet plus a space-a total of 27 characters.

should i get a razer phone or gpd win pls help!!?

Answers

I’m not sure what question you are asking

Constructors that contain parameters are called ____.

Answers

they are called Parameterize constructor

It may be necessary to initialize the various data elements of different objects with different values when they are created. This is achieved by passing arguments to the constructor function when the objects are created. The constructors that can take arguments are called parameterized constructors.

Hannah dakota's experiment obtained reaction time data using a factorial design with two independent variables. she should use a __________ to evaluate her data

Answers

Hannah dakota's experiment obtained reaction time data using a factorial design with two independent variables. she should use a Two-way ANOVA to evaluate her data.  The two independent variables in a two-way ANOVA are called factors. The idea is that there are two variables, factors, which affect the dependent variable.

If you were given a 3D microscope to use for photography, which object(s) would you most want to photograph?

Answers

I would like to photograph a rose, because I have always been interested to know more about some flowers and what’s in the inside of them. Even though roses look pretty “simple” but beautiful in the outside, I suspect that there are a thousand of different things inside of it.

Answer and explanation:

Mainly, 3D microscopes are used in scientific research to observe the biologic composition of cells and microorganisms. If given the chance to use it to take some photographs, one good option could be to observe the cells of a zebrafish. Zebrafish have more than ten thousand (10,000) of cells that have the look of the sun's prominences. Comparing both of them could amaze us overall because of the difference in real sizes between but the similarity in shape.

"a terminal has two input queues." as a user types each character to the terminal, it is collected in the ____ queue.

Answers

The answer is raw.  "a terminal has two input queues." as a user types each character to the terminal, it is collected in the raw queue.  As the user types in each character, it is collected in the raw input queue, When the line is completed and the enter key is pressed, the line is copied from the raw input queue to the canonical input queue and the Central Processing Unit (CPU) interprets the line.

Which three states can be applied to switches using vlan trunking protocol (vtp)? select one:
a. transparent, server, and client
b. secure, transparent, and gateway
c. master, server, and client
d. open, closed, and active?

Answers

The answer is (A) transparent, server, and client

A switch can be configured in any of the above VTP modes.

Transparent: VTP transparent switches forward VTP ads that they receive out their trunk ports in VTP version 2. However, VTP transparent switches don’t participate in VTP.

Server: In this mode, you can create, modify and delete VLANs. You can also specify other parameters like VTP pruning and VTP version for the entire VTP domain.

Client: This mode behaves the same as server, but you cannot create, modify and delete VLANs on a VTP client.






_____ describes the way the components in a network interact.​

Answers

Logical Topology describes the way that components in a network interact.  Logical topology is the arrangement of devices on a computer  network and how they communicate with one another.  It describes how signals act on the network.  his type of topology is not interested in how devices on the network are connected but how they communicate with each other. 

A logical topology is how devices appear connected to the user. A physical topology is how they are actually interconnected with wires and cables.

When a windows computer starts, it initiates the stateless address autoconfiguration process, during which it assigns each interface a link-local unicast address. what is the order of steps involved in this autoconfiguration process?

Answers

1) The IPv6 implementation on the system construct a link-local address for
     each interface by using the fe80::/64 network address
2)  Using IPv6 Neighbor Discovery protocol, the system check if the
     address is a duplicate 
3) Knowing the link-local address is unique, it configures the interface to use
    that address
4) The system uses the Neighbor Discovery protocol to transmit Router
     Solicitation messages to the all routers multicast address 
5) The router on the link uses the ND protocol to relay Router
     Advertisement messages to the system 
6) By using the information it receives from the router, the system produce
    a routable address and configures the interface to use it 

____ data updates in your destination document if there are changes to the source data
A) integrated
B) embedded
C) linked
D) field

Answers

I think its D (Field) I'm not sure but seems better than others.

How do you calculate the total voltage in a series circuit with more than one component?

Answers

Voltage is the same across each component of the parallel circuit. The sum of the currents through each path is equal to the total current that flows from the source.

Voltage is the same across each component of the parallel circuit. The sum of the currents through each path is equal to the total current that flows from the source. You can find total resistance in a Parallel circuit with the following formula: 1/Rt = 1/R1 + 1/R2 + 1/R3 +...

Which is a function of network media?

Answers

To distribute information and promote goods

Network media refers to the communication channels used to interconnect nodes on a computer network. Typical examples of network media include copper coaxial cable, copper twisted pair cables and optical fiber cables used in wired networks, and radio waves used in wireless data communications networks.

Including AND in an IF statement means more than one condition can be included in the statement. exactly one condition can be included in the statement. the result may be both true and false at the same time. a new spreadsheet is generated using only data that meets the conditions in the statement

Answers

A. Just took the test.

Answer:

more than one condition can be included in the statement.

Explanation:

For example, if your mom tells you:

"You can only go out tonight if you do your homework and clean up your room"

The word and in the if condition is used to add another condition to the existant one, so the use of the word and in If statements is used to add more than one condition to the statement.

____ driving is more complex and often confusing, know your route

Answers

Urban driving is often more complex and confusing

^o^

Answer:

The answer to this question is "urban".

Explanation:

In this question, the answer is urban because Urban or city driving includes a type of complex driving conditions. Spaces are bound; you deal with many vehicles, bicyclists, pedestrians, vans and one-way roads. To control complex driving we use the concept of Urban traffic control. This process provides central computers to co-ordinate and monitor larger numbers of intersections.

the five steps in the fetch/execute cycle and how do they correspond to a restaurant

Answers

The five steps in the fetch/execute cycle are : 
1) Instruction Fetch (IF) - This starts with the moving from the memory to
     the control unit which is given by the program counter. The control unit
     can then access the data immediately from the memory.
2) Instruction Decode (ID) - what task the system has to do, where the
     results is to be stored and what operation is to be performed by which
     data.
3) Data Fetch (DF) - it gets the value from the memory.
4) Instruction Execute (IE) - The particular instruction is executed.
5) Result Return (RR) - The Result Value is restored in a
    particular memory location.  The return of new data resulting from
    (EX) that is put back into memory.

When a switch is closed, completing an lr series circuit, the time needed for the current to reach one half its maximum value is _____ time constants?

Answers

The answer is 0.693 .  When a switch is closed, completing an LR series circuit, the time needed for the current to reach one half its maximum value is 0.693   

e^(-t/T) = 0.5 
-t/T = ln(0.5) = -0.693 

Two major B2B models are ________. Select one: a. Auctions and social commerce b. Catalogs and vertical markets c. Sell-side marketplaces and e-sourcing d. Outsourcing and horizontal markets

Answers

the answer could be a i might be wrong
Answer:

The major two B2B models are c. e-sourcing and sell-side marketplaces.

Explanation:

B2B is a business to business model which means the exchange of goods or services which happens between corporations or organizations but not with customers. It is providing services or goods online to other company. Example, a cyber-security firm providing online service to an e-commerce company as part of risk mitigation plan to avoid credit card fraud.

The advantage of such model is sustainable and high-profit margin from repeated clients.

One disadvantage is this model will be having a smaller number of customers.

Other Questions
3. A vacuum robot is in a room and charging at position (0, 5). Once charged, it begins moving on a northeast path at a constant speed of 1/2 foot per second along the line 4 3 = 15. After 60 seconds, it turns right 90 and travels in the new direction. a. What are the coordinates of the point at which the robot made the turn? b. Find an equation for the second line on which the robot traveled. c. If after turning, the robot travels 80 seconds along this line, how far has it traveled from its starting position? d. What is the equation of the line the robot needs to travel along in order to return and recharge? How long will it take the robot to get there?Show your work Which cabinet department is in charge of implementing daylight savings time? why did so much time elapse between the first and second waves of feminism? Genomic imprinting, dna methylation, and histone acetylation are all examples ofa. genetic mutation.b. chromosomal rearrangements.c. karyotypes.d. epigenetic phenomena.e. translocation. 20 POINTS! BRAINLIEST IF YOU CAN ANSWER MY RIDDLE!I Speak Without A Mouth And Hear Without Ears. I Have Nobody But Come Alive With Wind. What Am I? Use part 1 of the fundamental theorem of calculus to find the derivative of the function. y = 5 u3 1 + u2 du 4 3x The lunar cycle started about 17 days ago. Although the moon is quite large, you cant quite see all of it. What phase of the moon will happen next? Please help asap!!!!!!!!!!!! How did white southerners defend the institution of slavery? Which of these is the best description of a typical organism in the plant kingdom? When the north pole of a bar magnet is moved into a solenoid, the needle on a galvanometer attached to the solenoid moves to the left, indicating that a current is produced. the magnet is then pulled out at a faster speed.what will be the result?a larger current in the same directiona larger current in the opposite directiona smaller current in the same directiona smaller current in the opposite direction? the two figures are congruent find the measure of the requested side or angle Being curious, original, intellectual, creative and open to new ideas describes the big five trait of: If 5.6 g of Copper (II) oxide are used, how many moles of copper metal will be produced? When 80 g of sodium hydroxide, naoh, are dissolved in enough water to make 500 ml of solution, the molarity of the solution is a 1 m b 2 m c 4 m d 8 m? Imagine that you work at a store which sells components and you have been made the facilitator of a group whose long term goal is to increase overall sales of the store. What would you do? Individuals who believe that they control their own destiny are described as: having a low mach personality. having a high internal locus of control. being low in authoritarianism. having a high mach personality. having a high external locus of control Why is a/0 not defined? How has life on Earth transformed the planet Which describes how africa was divided into countries answers?