1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
denpristay [2]
4 years ago
12

In most languages, if a file does not exist and a program attempts to open it in append mode, what happens?

Computers and Technology
1 answer:
chubhunter [2.5K]4 years ago
5 0

Answer:

It create a new file in which writing of data begins.

Explanation:

A file can be open in the three mode:

-r (Read mode): open an existing file for the purpose of reading data from it.

-w (write mode): Create a new file for the purpose of writing data to it.

-a (append mode): open an existing file for the purpose of appending extra data to it but if the file does not exist, it create a new file and start writing data to it.

You might be interested in
What command prompts should be used to assign an IP address to:
S_A_V [24]

Answer:

...

Explanation:

A. Cisco Router

1. Enter global configuration mode using the next commands:

Router>enable

Router#configure terminal

2. enters the configuration mode for a Gigabit Ethernet interface on the router using this command:

interface gigabitethernet slot/port

Example:

Router(config)# interface gigabitethernet 0/1

3. Set the IP address and subnet mask for the specified GE interface using this command:

ip address x.x.x.x y.y.y.y

Example:

Router(config-if)# ip address 192.168.0.1 255.255.255.0

4. Finally, enable the GE interface, changing its state from administratively down to administratively up:

Router(config-if)# no shutdown

Exit configuration mode for the GE interface and returns to global configuration mode using this:

Router(config-if)# exit

B. Cisco Switch

Normally Cisco switches forward Ethernet frames without any configuration. so you don´t need to assign them an IP address, but to perform switch management over the network or use protocols such as SNMP, the switch will need to have an IP address. Here are the steps:

1. Enter global configuration mode using the next commands:

Switch>enable

Switch#configure terminal

2. Enter the VLAN 1 configuration mode:

Switch(config)#int vlan 1

3. Assign an IP address with the ip address IP ADDRESS SUBNET MASK interface subcommand.

Example:

Switch(config-if)#ip address 10.0.0.1 255.0.0.0

4. Enable the VLAN 1 interface with the no shutdown interface subcommand.

example:

SW1(config-if)#no shutdown

C. Local PC

1. Click Start Menu > Control Panel > Network and Sharing Center or Network and Internet > Network and Sharing Center.

2. Click Change adapter settings.

3. Right-click on Wi-Fi or Local Area Connection.

4. Click Properties.

5. Select Internet Protocol Version 4 (TCP/IPv4).

6. Click Properties.  

7. Select Use the following IP address.

8. Enter the IP address, Subnet mask, Default gateway, and DNS server.

9. Click OK.

7 0
3 years ago
Which type of cause and effect organizer would be best for alisha to understand how crude oil becomes gasoline?
sukhopar [10]
The answer is 100% B. Flow chart.
5 0
4 years ago
Read 2 more answers
A honeypot is sometimes called a(n) __________.
Masteriza [31]

Answer:

C. digital sandbox.

Explanation:

A honeypot is a security mechanism that creates a virtual trap to lure attackers. An intentionally compromised computer system allows attackers to exploit vulnerabilities so you can study them to improve your security policies. You can apply a honeypot to any computing resource from software and networks to file servers and routers.

4 0
3 years ago
When you create a linked object using the object dialog box, you must click the?
grin007 [14]
Link to the object using the object dialog box then you can click the link
4 0
3 years ago
John just bought a used iPad from a friend who had lost the charging cable. John notices that the cable is like the charging cab
Andre45 [30]
Micro usb,with a ios charging cable
8 0
3 years ago
Read 2 more answers
Other questions:
  • Write a complete main method that does the following: 1. Takes any number, but at least two, command line arguments which are nu
    8·1 answer
  • 1.) You are a digital forensic examiner and have been asked to examine a hard drive for potential evidence. Give examples of how
    13·1 answer
  • Which of the following government debt instruments has the longest maturity?
    5·1 answer
  • Maggie is preparing a document.she wants to open the help menu to sort out a formatting problem.which key should she press to op
    15·2 answers
  • My programming lab 9.2 C++ Write a full class definition for a class named Counter, and containing the following members:_______
    6·1 answer
  • How to study program ?
    11·1 answer
  • How will you ensure that all of the network's applications and tcp/ip services also support ipv6?
    10·1 answer
  • Pixar is a company that creates a huge amount of images, audio recordings, and videos, and they need to decide what compression
    11·1 answer
  • Draw a flowchart and write the algorithm to find even number between 1 to 50​
    7·1 answer
  • Components of document merging?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!