Answer:
The answer to this question is the option "a".
The statement for opening file can be given as:
inFile.open("progdata.dat");
Explanation:
In the above statement, this statement is part of the c++ programming language. To open any file we use the following syntax that can be given as:
Syntax:
inFile.open(filename, mode);
In the above syntax inFile.open() is a function that opens the file. In this function, we pass two parameters that are filename, mode. Where filename is the name of the file which we want to open. In the filename, we write file names with the path of the file like(C:\Users\Public\Music\Sample Music\abc.dat) where (C:\Users\Public\Music\Sample Music) is the path of the file and (abc.dat) is a file name. In the mode parameter, it provides the mode in which we want to open a file. There are two types of read mode and write mode. The default mode is read mode.
Accenture is a company that was established with the aim of handling electronic waste. They were very much concern about how electronic waste is being disposed and as such they try to create ways to handle it. The e-stewards program was set up with the sole aim of management of electronic waste. its objectives includes;
- Make strategic and better world through well managed recycling solution to all electronic waste (e-waste) issues.
- The program also focus on making sure that electronic waste are been handled properly and they are not dumping of electronic waste in poor countries
- The objective also centers around no export of harmful electronic wastes.
- They also capitalizes on reuse and resale
- They are not only interested in stopping e-waste but to channeled it to repair, republish and re-manufacture
For better understanding, lets explain what E-waste means
- E-Steward objective is centered on managing and handling of electronic waste. It was a project that was birth out of rising concern about electronic waste, especially due to rising concerns that electronic waste generated by rich countries was being shipped off to poor countries.
- Accenture e-steward make sure that electronic waste are well disposed, no more shipping of electronic waste to poor countries and also recycling of electronic waste product.
- E-waste in the above simply means non functional or disposed electronic equipment such as computers, cell phones, television sets, etc.
From the above, we can therefore say that the e-stewards program is concerns about how electronic waste generated by rich countries was being shipped off to poor countries and also the recycling of electronic waste product such as television, computers etc.
Learn more about E-waste from:
brainly.com/question/15391967
Answer:
{"double", "char", "char", "double"} will be stored in word.
Explanation:
Given the word is an array of four strings, {"algorithm", "boolean", "char", "double"}. Hence, the length of the word array is 4.
The for-loop will only run for two iterations due to i < word.length/2, with i = 0 (first loop) and i = 1 (second loop).
In the first loop,
- word[word.length - 1 - i] = word[4 - 1 - 0] = word[3] = "double"
- Hence, the string "double" will be assigned to word[0] and overwrite "algorithm"
In the second loop,
- word[word.length - 1 - i] = word[4 - 1 - 1] = word[2] = "char"
- Hence, the string "char" will be assigned to word[1] and overwrite "boolean"
At last, the word array will hold {"double", "char", "char", "double"}
Answer:
The answer is "Line 13".
Explanation:
In the given code first, a header file is included for using basic function, In the next line the main method is defined in this method two-pointer variable is declared that is "numbers1 and numbers2", in which variable numbers1 holds a value that is "NULL".
- In the next line, both variable uses malloc() function that is used to allocate memory in heap, and in this function, sizeof() function is used that print its size and also increase its value.
- In the next step, a pointer variable numbers1 assigns a value and another variable numbers2 assigns numbers1 variable value and changes the numbers1 variable.
With a centralized database system, the databases used by the system are all located on a single computer, such as a server or mainframe computer.
<h3>
</h3><h3>
What are database systems?</h3>
Database is a collection of related data stored in a manner that it can be retrieved as needed. Database system or Database Management System (DBMS) are enables us to create, maintain, and access databases. A database typically consists of Tables, Fields (columns) and Records (rows).
Advantages of DBMS approach are low level of redundancy, faster response time, lower storage requirements, easier to secure, increased data accuracy. Disadvantage of DBMS approach is increased vulnerability (backup is essential).
To learn more about database systems refer to:
brainly.com/question/518894
#SPJ4