Answer:
String[] data2 = Arrays.copyOf(data, 4); is the statement which copies the data array to the data2 array in java 6 .
Explanation:
The Arrays.copyOf() function copies the data from first array to another array in java .We pass the two argument in this function first argument is the name of first array and second the length of first array .
Following are the program in java
import java.util.Arrays; // import package
public class Main
{
public static void main(String[] args) // main function
{
String[] data = { "abc", "def", "ghi", "jkl" }; // string declaration
// printing the array data1
System.out.println("before copy new array:");
for (int k = 0; k < data.length; k++)
{
System.out.println(data[k]);
}
String[] data2 = Arrays.copyOf(data, 4);
// printing the array data2
System.out.println("after copy new array:");
for (int k = 0; k < data2.length; k++)
{
System.out.println(data2[k]);
}}}
Output:
before copy new array:
abc
def
ghi
jkl
after copy new array:
abc
def
ghi
jkl
Answer
There are four generations of computer programming languages(4GLs)But fifth generation is still on development.
Explanation
First generation programming languages(1GL) These are programming languages were used to program the very first computers which are described ts the first generation of computers .They were low level languages.
Second generation programming language (2GL) These were low level assembly languages an example is COBOL.
Third generation programming language (3GL) These are high level programming languages examples are java,c++ e.t.c
Fourth generation programming languages (4GL) These are programming languages which are more user friendly than the other three generations. They are normally used in development of commercial business software and many others
Fifth generation programming language (5GL) these are languages which are now used in problem solving .They are more user friendly and are advanced in technology.This fifth generation is still under development.
A word wall is a technique or a literacy tools mainly used by the students who are creating memorable experiences like in remembering of new words in vocabulary. In schools, word wall is commonly placed on bulletin boards where a collection of words are displays in visible letters.
B. The datacenter routes the request to a destination server which hosts the website.
C. The user types a web address in his or her browser.
D. Request goes through a router or modem to the user's ISP.
User’s browser renders HTML code from destination server into web page
2) student recording her answer to a question in an online test
3) customer adding an item to the online shopping cart
Select one:
a) 1 and 3 only
b) 1 only
c) All of them
d) None of them
Answer: (C) All of them.
Explanation:
All the given options are example of the transaction in the information system.
As, the money deposited in the bank account is the process that take place computerized for transaction purpose. Now a days we can easily done transaction through wire transfer at anywhere and anytime by using the information system technology.
Students can easily study online and also record their answers in the online test by using the information system technology.
Customers can also doing shopping online by adding various products and items in the online shopping cart by using various e-commerce websites like amazon, flip-cart etc.