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
Natali [406]
3 years ago
13

If the name of the input file was in a variable named filename, which of the following is the correct way to open the input stre

am named inFile and associate it with this file?
a. inFile.open (filename);
b. inFile = filename;
c. inFile = "filename";
d. inFile.open ("filename");
Computers and Technology
1 answer:
goldfiish [28.3K]3 years ago
7 0
It would be A - inFile.open(filename)
You might be interested in
On five lane roadways, the center lane is designated for __________ and is used by vehicles traveling in both directions.
Alla [95]
Answer : The center lane is designated for left turns

Explanation: 
This lane is used so that drivers would pull into in order to turn left when a clear merge is available. Its main purpose is not to cause traffic jam while waiting for the chance to turn left. It is illegal to use this lane for any other purposes
5 0
3 years ago
What is the role of the digital cinematographer?
dlinn [17]
<span> is the person in charge of actually shooting the film. He is the head of the camera and lighting departments, and as such he has a big </span>role<span> in the making of any movie

</span>
3 0
3 years ago
Read 2 more answers
Write a pseudo code to print sum of all even numbers from 1 to 100
Vinil7 [7]

(python) Answer:

sum = 0

for i in range 1 to 101:

 if i modulo 2 == 0:

   sum += i

print(sum)

Explanation:

first we declare the sum variable

then go through all numbers 1 through 100 (range 1 to 101 because python range does not include the last number - if we did 1 to 100 it would look at 1 to 99)

if the number is even (divide by 2, check if there's a remainder, if not it's even and we will add the number to the sum

finally print the sum

5 0
2 years ago
"write a program to simulate the rolling of two six-sided dice. the program should work by generating two random numbers, each i
ehidna [41]
Python:

from random import randint
dice_1 = randint(1, 6)
dice_2 = randint(1, 6)

Java:

int dice1 = (int) (Math.random() * 7);
int dice2 = (int) (Math.random() * 7);
5 0
3 years ago
In order to use NetWitness Investigator to analyze the same packets that you analyzed with Wireshark, you first had to save the
rusak2 [61]

Answer:

.pcap

Explanation:

He initially have to store the DemoCapturepcap.pcapng file throughout the older.pcap format in which of using NetWitness Examiner to examine a certain transmissions that the person examined with Wireshark.

PCAP should be used for the protocol analyzer, server control, traffic producer, server checker or device for detecting intrusion. It is quite user-friendly and seems to be compliant with such a large range of methods. In reality, for further over a variety of different transmission capturing methods, t is used as the platform.

5 0
3 years ago
Other questions:
  • Write a program to solve the selection problem. Let k = N/2. Draw a table showing the running time of your program for various v
    12·1 answer
  • Reading for subject content follows the same steps as reading for entertainment. True or false.
    10·2 answers
  • Mikayla is researching copyright information for images found on a website. She needs to figure out the legal name of the compan
    9·1 answer
  • Which statement is NOT CORRECT?
    11·1 answer
  • In the mouse properties window you can
    6·1 answer
  • A*=++a/6+b++ 3 if a=3,b=4​
    13·1 answer
  • Which of the following is NOT true about a flow chart?
    8·1 answer
  • Why can't I access my micro SD card on my Lenovo ThinkPad Yoga 11e? I'm trying to export some PNG files onto my Micro SD card, s
    6·1 answer
  • What method do phishing and spoofing scammers use
    12·1 answer
  • What are the peripherals of a computer ​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!