Answer:
Descriptive Statistics.
Explanation:
First Steve gathered the data and after that he created the pie chart displaying the percentage of psychologists working in different fields.Here Steve used descriptive statistics to display the data that he collected.
Descriptive statistics are the descriptive coefficients that give the abstract of the data collected.
Which statements about the enhanced for loop are true for arrays of primitive data? I. It is suitable for all array algorithms. II. It does not allow the contents of the array to be modified. III. It does not require the use of an index variable.
The enhanced for loop is not suitable for all array algorithms, does not allow the array's contents to be modified (especially in arrays of primitive data), and does not require an index variable, making it advantageous for iterating over arrays for reading purposes but limited for direct modifications.
Explanation:The question is asking about the characteristics of the enhanced for loop in the context of arrays containing primitive data types in Java. Let's examine each statement:
It is suitable for all array algorithms. This is false. While the enhanced for loop is a convenient way to traverse through an array for reading or processing each element, it is not suitable for algorithms that require modifying the array elements directly, or that need access to the array index while iterating, such as swapping elements.It does not allow the contents of the array to be modified. This is generally true when it comes to modifying the value of the elements directly via the variable provided in the loop, especially in the context of primitive data. You cannot change the original array content through the loop variable as it only provides a copy of each element rather than a reference. However, you can act on object elements in a way that modifies their state (in the case of arrays of objects) but not the array structure or the reference to the objects themselves.It does not require the use of an index variable. This is true. One of the main advantages of the enhanced for loop is that it abstracts away the need for an index variable when iterating through an array, making the code cleaner and less prone to errors related to indexing.In summary, the enhanced for loop provides a more readable and less error-prone way to iterate over an array of primitive types, but it has limitations, especially when modifications to the array itself are necessary.
What series of println statements would produce the following output? This is a test of your knowledge of "quotes" used in 'string literals.' You're bound to "get it right" if you read the section on ''quotes.''
Answer: Here we will show how to generate the answers based on java language. We will use System.out.println().
Explanation:
The System.out.println statement is used in java to print statements.
The following lines show how to generate those statements. The statements are enclosed within double quotes.
System.out.println("This is a test of your");
System.out.println("knowledge of \"quotes\" used");
System.out.println("in 'string literals.'");
System.out.println("You're bound to \"get it right\"");
System.out.println("if you read the section on");
System.out.print("''quotes.''");
During your research, you also come across a Web site on hybrid cars. The Web site explains buying incentives and offers several customer testimonials. What is the likely primary goal of this Web site?
The primary goal of the website about hybrid cars, which includes buying incentives and customer testimonials, is most likely to sell products or services. It aims to convince potential buyers by highlighting the economic and environmental benefits of hybrids, using both logical and emotional appeals.
Explanation:The likely primary goal of the website discussing hybrid cars, featuring buying incentives and customer testimonials, is to sell products or services. The presence of buying incentives is designed to make hybrids more attractive to potential buyers by highlighting benefits like fuel efficiency and reduced environmental impact. Customer testimonials serve as persuasive personal stories to build trust and convince potential buyers of the benefits and satisfaction associated with owning a hybrid car.
By offering these elements, the website strategically combines factual information with emotional appeal. This tends to create a compelling argument in favor of purchasing a hybrid car, leveraging both the economic savings on fuel and the desire to participate in environmentally responsible behavior. The overall strategy suggests that while the site may provide useful information, its ultimate aim is to influence consumer behavior towards making a purchase.
It is important for consumers to critically evaluate the validity of the information presented on such sites. Looking for unbiased sources and verifying claims through reputable sites can help in making informed decisions.
Select the correct answer.
Record keeping requirements for participation in The Child and Adult Care Food Program include:
A.
Menus
B.
Attendance records
C.
Meal counts and attendance records
D.
Menus and cost documentation
E.
Menus, meal counts, attendance and cost documentation
Answer:
E
Explanation:
The child and adult care food program should include all the information
regarding food menus with approximate cost, total meal counts, and attendance.
The correct record keeping requirements for The Child and Adult Care Food Program include menus, meal counts, attendance, and cost documentation. These are necessary for compliance, auditing, and reimbursement purposes.
The Child and Adult Care Food Program (CACFP) requires comprehensive record-keeping to ensure all aspects of meal service are documented and comply with regulations. This includes:
Menus: Daily menus must be recorded to show what meals are served.Meal counts: Accurate meal count records are necessary to demonstrate the number of meals served.Attendance: Attendance should be tracked to correlate with the meal counts.Cost documentation: Record of costs involved in providing meals, including food purchases and labor, is necessary for auditing and reimbursement purposes.These records ensure accountability and proper reimbursement for meals served under the CACFP.
The correct answer for the record keeping requirements for participation in The Child and Adult Care Food Program is E. Menus, meal counts, attendance and cost documentation.
Late at night, some traffic signals change patterns and become _____.
A. WRONG WAY signs and DO NOT ENTER signs
B. flashing yellow or red lights
C. turn arrows
D. inactive
Answer:
Option (B) i.e., flashing yellow and red lights is the correct option to the given question.
Explanation:
Because there is very less traffic at the time of the late-night so, there is traffic police at that time that's why always or mostly flashing yellow or the red light at late night which indicates if any person is traveling than, firstly they will stop and look their left or right side, if all clear than go.
So, that' why this option is correct because it will reduce the chances of accidents.
Internally, computers are constructed from circuitry that consists of small on/off switches. What is the most basic circuitry-level language that computers use to control the operation of those switches called?
Answer:
Machine Language.
Explanation:
The most basic language that is used by computers so that they can control the operation of the on/off switches in the circuitry is Machine language.
Machine Language is a low level language is a collection of binary digits or bits that is understood by the computers.Computers are capable of understanding only machine language.
Final answer:
The most basic language that computers use to control the operation of their internal switches is called binary code, which is represented by ones and zeros. The controls are implemented by transistors within a microprocessor, an integrated circuit that performs a variety of tasks.
Explanation:
Internally, computers consist of intricate circuitry that functions through numerous tiny on/off switches called transistors. The most basic circuitry-level language that these computers use to control the operation of those switches is termed binary code. Binary code is represented by ones and zeroes, corresponding to the digital signals that turn transistors on and off. These transistors, whether in the on or off state, control the flow of electricity and data within the microprocessor, which is an integrated circuit that can perform various tasks. Indeed, the microprocessor is at the heart of modern computing, storing and manipulating data to execute a wide range of functions.
The integrated circuits that form the basis of most modern electronic devices, including computers and cell phones, contain millions of these switches that operate using binary code. This technology has progressed from larger mechanical parts to the microscale transistor-based integrated circuits we have today, enabling the wide use of personal computers and other digital technology.
Windows is displaying an error about incompatible hardware. You enter BIOS/UEFI setup to change the boot priority order so that you can boot from the Windows setup DVD to troubleshoot the system. However, when you get to the Boot screen, you find that the options to change the boot priority order are grayed out and not available. What is most likely the problem?
Final answer:
The options to change the boot priority order being grayed out in BIOS/UEFI are most likely due to a lack of permissions, often because the BIOS is password-protected, or due to Secure Boot being enabled, which needs to be disabled to change boot settings.
Explanation:
If you find that the options to change the boot priority order in the BIOS/UEFI setup are grayed out and not available, the most likely problem is that you don't have the necessary permissions to make these changes. This can often be due to BIOS settings being locked with a password. To resolve this, you'll need to enter the correct BIOS password. If the system was set up by someone else or is part of a school or organization, you may need to contact the administrator or IT department to obtain the password or have them change the boot order for you.
Another reason the options could be grayed out is due to a feature called Secure Boot being enabled, which can prevent any changes to the boot priorities to secure the system from unauthorized access. If this is the case, you would need to disable Secure Boot first, but keep in mind that you should be aware of the implications to system security before making such changes.
Consider the following code snippet: String[] data = { "abc", "def", "ghi", "jkl" }; String [] data2; In Java 6 and later, which statement copies the data array to the data2 array?
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
The statement that copies the data array to the data2 array in Java 6 and later: data2 = Arrays.copyOf(data, data.length);
Arrays.copyOf(data, data.length): This method creates a new array named data2 that's a complete copy of the data array. It takes two arguments:
data: The array to be copied.data.length: The length of the new array, ensuring it has the same size as the original array.Key points:
Shallow copy: This method performs a shallow copy, meaning it creates a new array with references to the same elements as the original array. If the elements are mutable objects (like other arrays or objects), changes made to them in one array will be reflected in the other.Alternative methods: There are other ways to copy arrays in Java, but this method is often preferred due to its clarity and efficiency:In the C++ instruction, cookies = number % children; given the following declaration statement: int number = 38, children = 4, cookies; what is the value of cookies after the execution of the statement?
Answer:
The correct answer for the given question is "2"
Explanation:
Here the statement is cookies = number % children; where number and children are the integer type variable which has been initialized by 38 and 4 respectively as given in the question.
It will give value of cookies=2 because the % operator gives reminder so 38%4 gives reminder 2 .
Therefore the value of cookies=2;
Signe wants to improve the security of the small business where she serves as a security manager. She determines that the business needs to do a better job of not revealing the type of computer, operating system, software, and network connections they use. What security principle does Signe want to use?
Answer:Obscurity
Explanation: Security through the obscurity is the mechanism that is used for the security purpose in an operating system by inducing the confidentiality in the internal parts of the operating system.
The functioning of the security through obscurity(STO) works by hiding the flaws and errors related to security of the operating system.Thus , Signe is willing to use obscurity system.
____ a program means writing down in a prescribed manner the instructions for using the program, the way in which the program performs its tasks, and other items that users, other developers, and management might require.
a) Indexing
b) Documenting
c) Texting
d) Labeling
Final answer:
Documenting a program involves clearly detailing instructions, operation details, and interfaces like APIs for users and developers. It is crucial for problem-solving and communication in program development.
Explanation:
Documenting a program means writing down in a prescribed manner the instructions for using the program, the way in which the program performs its tasks, and other items that users, other developers, and management might require. It involves creating clear and precise documentation that includes all aspects of the program's operation, ensuring that anyone who needs to understand or work with the program has the necessary information at their disposal.
This process is integral to problem-solving within the development cycle, enabling effective communication between the code and its users or fellow developers. Writing high-quality documentation is akin to establishing a contract, often referred to in technical terms as an Application Program Interface (API), which dictates how other applications or users can interact with the program's services.
Proper documentation can include a variety of components such as a comprehensive instruction manual, clear definitions and markup in the code to facilitate syntax highlighting, and organizing a set of instructions with informative titles, introduction, body, and conclusion sections. This ensures that both the program and its interfaces (APIs) are usable and understandable by those who need to work with them.
Write the pseudocode for a function named getFirstName that asks the user to enter his or her first name, and returns it. Write the main module that declares a variable called name, calls getFirstName (setting its return value into name), and displays that name with a user-friendly message.
Answer:
Function getFirstName(nameInput)
Declare nameInput
Display "Please enter your first name."
Input nameInput
Return nameInput
End function
Module main()
Declare name
Call getFirstName(name)
Display "Hi + 'name'!"
End module
Explanation:
First, we define the function getFirstName(nameInput) that has the parameter nameInput to get the input name a retrieve it to the module main. Then, we define the module main that declares the variable name, calls and retrieves the name variable of the function previously defined.
Function getFirstName():
Display "Enter your first name:"
Input firstName
Return firstName
Main module:
Declare name as String
Set name = getFirstName()
Display "Hello, " + name + "! Welcome!"
Here's the pseudocode for the `getFirstName` function and the main module:
plaintext
Function getFirstName():
Display "Please enter your first name:"
Input firstName
Return firstName
Main module:
Declare name as String
Set name = getFirstName()
Display "Hello, " + name + "! Welcome to the program."
1. **Function `getFirstName()`**:
- Prompts the user to enter their first name using `Display` (assuming it's a function to print to the console).
- Reads the input using `Input` and stores it in `firstName`.
- Returns `firstName` which contains the user's input.
2. **Main module**:
- Declares a variable `name` of type `String` to store the user's first name.
- Calls the `getFirstName()` function and assigns its return value to `name`.
- Displays a friendly message using `Display`, welcoming the user with their entered name concatenated with a greeting.
This pseudocode demonstrates a basic structure for obtaining user input and displaying output in a simple console-based program, focusing on clarity and functionality.
Write a method which will take one number as an argument. (Feel free to use static method or instance method) Given a input number (integer) print the digits of the number. You must use while loop and modulus operator. This program must work for any positive integer. Negative integers are not cons idered as inputs.
Answer:
// here is code in java.
import java.util.*;
// class definition
class Main
{
// method that return the digits of number
public static void dig(int num)
{
// while loop
while(num>0)
{
// print the digits
System.out.println(num%10);
num=num/10;
}
}
//driver method
public static void main (String[] args) throws java.lang.Exception
{
try{
// scanner object to read input string
Scanner s=new Scanner(System.in);
// variable
int num;
System.out.print("please enter the number: ");
//read the number
num=s.nextInt();
// validate the input, read a positive number only
while(num<=0)
{
System.out.print("enter a positive number only:");
num=s.nextInt();
}
System.out.println("digit of number are:");
// call the function
dig(num);
}catch(Exception ex){
return;}
}
}
Explanation:
Read a number from user and assign it to variable "num".Check if it is positive or not.If input is negative then ask user to again enter a positive number till user enter a positive number.Then call the function with input number. In this method it will find the digits of the number in the while loop using modulus "%" operator.
Output:
please enter the number: -345
enter a positive number only:1234
digit of number are:
4
3
2
1
The question involves writing a method to print out the digits of a positive integer using a while loop and modulus operator, demonstrated through a simple Java example.
The task is to write a method in a programming language that takes a positive integer input and prints out the digits of the number using a while loop and the modulus operator. Here's a simple example in Java:
public class DigitPrinter {
public static void printDigits(int number) {
while (number > 0) {
int digit = number % 10; // Get the last digit
System.out.println(digit);
number = number / 10; // Remove the last digit
}
}
public static void main(String[] args) {
// Example usage
printDigits(123);
}
}
This method uses the modulus operator (modulus operator) to obtain the last digit of the number by calculating the remainder when the number is divided by 10. It then prints this digit, divides the number by 10 to remove the last digit, and repeats these steps with the while loop (while loop) until all digits have been printed in reverse order.
A _____ occurs when one transaction reads data written by another transaction before the other transaction commits. dirty read lost column value collision uncommitted dependency
Answer: dirty read, uncommitted dependency
Explanation:
We have this problem of dirty read when we have many transactions running simultaneously and then one transaction reads a value which has not been committed by another transaction. If such a situation arises then it leads to problems as when it results in redundancy of data and we get a wrong result.
Uncommitted dependency also happens in this way by which it reads the value from a transaction which is in its intermediate stage.
The uncommitted value of the transaction is called as the dirty data and leads to redundancy in the final outcome of the transaction.
Your organization’s network has multiple layers of security devices. When you attempt to connect to a service on the Internet. However, you receive a security message from the operating system stating that this service is blocked on your workstation. What could be the probable cause?
a. The IP address of the service is blocked by an intrusion detection system (IDS)
b. The service is blocked by the Internet Service Provider (ISP)
c. The proxy firewall on the network is blocking the service.
d. The host-based firewall settings are blocking the service.
Answer:
B.
Explanation:
Which of the following is true about unstructured data? a. Computer logic programs can identify and extract patterns in it. b. It must be analyzed manually. c. It is more likely to come from direct sources than indirect sources. d. It is less valuable than structured data in terms of providing insights into customer behavior. e. It cannot be combined with other data sources.
Answer:
a. Computer logic programs can identify and extract patterns in it.
Explanation:
Unstructured data is the information that does not have the pre defined data model and not organized well.
We know that the computer programs have the capability of modifying the unstructured data and convert it into the structured data like python programs,r script programs.
Hence the correct option is option A.
Assume that x is a double variable that has been initialized. Write a statement that prints it out, guaranteed to have a decimal point, but without forcing scientific (also known as exponential or e-notation).
Answer:
cout <<showpoint << x; is the statement which prints the decimal point, but without forcing scientific.
Explanation:
The showpoint function in c++ print the decimal point number without forcing scientific.The showpoint function set the showpoint format flag for the str stream in c++.
Following are the program in c++
#include<iostream> //header file
using namespace std; // namespace
int main() // main function
{
double x=90.67; // double variable
cout <<showpoint << x; // display x without forcing scientific
return 0;
}
Output
90.6700
Write the definition of a function printAttitude, which has an int parameter and returns nothing. The function prints a message to standard output depending on the value of its parameter.If the parameter equals 1, the function prints disagreeIf the parameter equals 2, the function prints no opinionIf the parameter equals 3, the function prints agreeIn the case of other values, the function does nothing.Each message is printed on a line by itself.
Answer:
// code in C++.
#include <bits/stdc++.h>
using namespace std;
// function to print attitude
void printAttitude(int n)
{
// if input is 1
if(n==1)
cout<<"disagree"<<endl;
// if input is 2
else if(n==2)
cout<<"no opinion"<<endl;
// if input is 3
else if(n==3)
cout<<"agree"<<endl;
}
// main function
int main()
{ // variable
int n;
cout<<"Enter a number:";
// read the input number
cin>>n;
// call the function
printAttitude(n);
return 0;
}
Explanation:
Read a number from user and assign it to "n".Then call the function printAttitude() with parameter "n".In this function, if the input number is 1 then it will print "disagree", if the input number is 2 then it will print "no opinion" and if the input number is 3 then it will print "agree".function will do nothing if the input number is anything else.
Output:
Enter a number:2
no opinion
__________ is a software package providing comprehensive coverage of all phases of the development process from writing Hypertext Markup Language (HTML) code to creating scripts for programs running on web servers.
Final answer:
A software package that covers all development process phases, from HTML coding to server-side scripting, is known as a web development tool or IDE. These tools are crucial for creating websites that balance various elements and aid users and developers in navigating complex human-software interactions.
Explanation:
A software package providing comprehensive coverage of all phases of the development process from writing Hypertext Markup Language (HTML) code to creating scripts for programs running on web servers is known as a web development tool or Integrated Development Environment (IDE). These tools are essential for developers to create and manage websites, incorporating the various elements of design and functionality that make up a modern website. When selecting an IDE or web development tool, it is crucial to consider factors like human-software interactions, how these tools support complex automated systems, and the decision-making processes of workers as they are supported by the software system.
Tim Berners-Lee's contribution to the development of HTML and the world's first web server on his NeXT computer set the foundation for these tools. Today's development environments aim to provide a balance of text, images, and careful formatting—elements that were central to the early web and continue to be pivotal in the creation of responsive and accessible websites. The ability to create a website that effectively conveys information without overwhelming the reader is a key objective of a well-designed software package in web development.
Samantha has to create a video for her science project on the blossoming of a flower from a bud to one with fully opened petals. Which camera technique should she use to record this video?
Answer:
Use time lapse
Explanation:
I got it right
A network administrator is noticing slow response times from the server to hosts on the network. After adding several new hosts, the administrator realizes that CSMA/CD results in network slowness due to congestion at the server NIC. What should the network administrator do?
Answer:
change results in network
It takes 2.5 yards of material to make a dress harleys clothing design estimates that they can produce 48 dresses each week.if there are 52 weeks in a year how much material will they need to purchase to make dresses for a year?
Answer:
6240
Explanation:
if there is 48 each week thats basically 48×52 = 2496 which is how many dresses times how many yards per dress(2.5)I get 6240
Answer:
There will be requirement of 6240 yard of material in one year.
Explanation:
We have given that it takes 2.5 yard of a material to make a dress
And it can produce 48 dresses in each week
There are 52 weeks in a year
So total number of cloths in a year = 52 × 48 =2496
As it is given that 1 cloth takes 2.5 yard of material
So total material required = 2.5 × 2496 = 6240 yard
So there will be requirement of 6240 yard of material in one year.
Which of the following statements is true?
a) Computer science tends to deal with data
b) Informaticians deal primarily with data
c) Information technology professionals deal mainly with information
d) Computer science tends to deal with knowledge
Answer: (A) Computer science trends to deal with the data.
Explanation:
The computer science basically tend to deal with the big data and data science as it is the emerging technologies with the upcoming years.
As, with the large amount of the data and high transmission rate we can easily developed new computing technologies with low budget.
Data is basically defined as simple facts and figures and contain information that is very useful for developing the computing technology for study and processing the system.
Therefore, Option (A) is correct.
Your boss bought a new printer with a USB 3.0 port, and it came with a USB 3.0 cable. Your boss asks you: Will the printer work when I connect the printer’s USB cable into a USB 2.0 port on my computer?
Answer:
Yes, is should work
Explanation:
USB is widely adopted and supports both forward and backward compatibility. The USB 3.0 printer should work with the USB 2.0 computer. However, having a connection like this, the printer will only be able to work at the speeds of the computer’s USB 2.0. By default, USB is built to allow transfer speeds improvement with upgrades from previous generations while still maintaining compatibility between devices that are supported by them.
Answer:
Yes, but at the USB 2.0 speed.
Explanation:
Which of the following lines of code is syntactically correct?
a. DECLARE order NUMBER; departure DATE; BEGIN ---- executable statements --- END
b. DECLARE order NUMBER; departure DATE BEGIN ---- executable statements --- END
c. DECLARE order NUMBER(3); departure DATE; BEGIN ---- executable statements --- END;
d. DECLARE order NUMBER(2); departure DATE; BEGIN; ---- executable statements --- END
Answer:
The answer is:
c.
DECLARE
order NUMBER(3);
departure DATE;
BEGIN
---- executable statements ---
END;
Explanation:
SQL Commands must close with a semicolon to be correctly parsed by the server. This is the cause why the syntax is wrong in:
A. DATE; BEGIN ---- executable statements --- END lacks semicolon in END.
B. DECLARE order NUMBER; departure DATE lacks semicolon after DATE.
D. A. DATE; BEGIN ---- executable statements --- END lacks semicolon in END.
A customer asks you over the phone how much it will cost to upgrade memory on her desktop system to 16 GB. She is a capable Windows user and able to access BIOS/UEFI setup using the user power-on password you set up for her. Which actions can you ask the customer to perform as you direct her over the phone to get the information you need and develop an estimate of the upgrade's cost?
a. Use BIOS/UEFI to view how much memory is installed and how much memory the system can hold.
b. Enter info32.exe to determine how much memory is currently installed.
c.Use BIOS/UEFI to show which memory slots are used and how much memory is installed in each slot.
d.View the System Information window to determine how much memory is currently installed.
Answer:
C: Use BIOS/UEFI to show which memory slots are used and how much memory is installed in each slot.
Explanation:
Apart from disassembling the computer and physically examining the motherboard or installing third party software to show the memory slots used and the amount of RAM in each, you can use the information that is displayed on your system’s UEFI firmware or BIOS to check. However, the latter is best to determine. BIOS/UEFI setup is used especially when the OS is not working. Depending on the type of computer system this customer has, he or she will be required to shut the PC off and boot it up. He or She will then be required to use a particular keyboard shortcut to enter into the BIOS/UEFI setup and look for information about RAM.
Option A is wrong because the BIOS/UEFI setup will not show you the amount of RAM the PC can hold
Running info32.exe on most windows computer will give you an error dialog box
You’re writing a script that will be called by other scripts. You want to signal abnormal termination of your script by passing a value of 8 to the external script under some circumstances. What command can you use in your own script to do this?
Final answer:
Use the exit command with the value 8 to signal abnormal termination in a script. The exit status can be used by the calling script to determine further action.
Explanation:
When writing a script in many programming environments, particularly in Unix-based systems like Linux or in languages like Bash, you can use the exit command to terminate a script and return a value to the calling script. To signal an abnormal termination and return a value of 8, you would include the line exit 8 at the appropriate place in your script. This exit status can then be checked by the calling script to determine how to proceed. Exit statuses are a conventional way to communicate the outcome of a script where typically a zero value indicates success and any non-zero value indicates an error or abnormal termination.
Which of the following is not stored in primary storage? Select one:
a. data to be processed by the CPU
b. instructions for the CPU as to how to process the data
c. archival data
d. operating system programs
e. none of the above
Answer:
c
Explanation:
In the _____ phase of transferring data from a transactional database to a data warehouse, the builders create the files from transactional databases and save them on the server that will hold the data warehouse.
Answer: Extraction phase
Explanation: Transactional database is the data collection capable of undoing the transaction that has not been correctly done. Data warehouse id the place where transaction data is transmitted where different types of databases are stored.
The transmission of the information from transactional database to data warehouse is defined in the extraction phase.The extraction phase works by transforming the data into a particular format. It copes the transactional databases's data to the warehouse by making separate space for deposition of data
Given the int variables x, y, and z, write a fragment of code that assigns the smallest of x, y, and z to another int variable min. Assume that all the variables have already been declared and that x, y, and z have been assigned values.
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int x=5,y=2,z=9;
int min;
// find the smallest value and assign to min
// if x is smallest
if(x < y && x < z)
// assign x to min
min=x;
// if y is smallest
else if(y < z)
// assign y to min
min=y;
// if z is smallest
else
// assign z to min
min=z;
// print the smallest
cout<<"smallest value is:"<<min<<endl;
return 0;
}
Explanation:
Declare and initialize variables x=5,y=2 and z=9.Then check if x is less than y and x is less than z, assign value of x to variable "min" .Else if value of y is less than value of z then smallest value is y, assign value of y to "min".Else z will be the smallest value, assign its value to "min".
Output:
smallest value is:2