Answer:
USA gain independance from the British Empire on 4th july , 1776
Explanation:
USA gain independance from the British Empire on 4th july , 1776
Declaration of Independence was adopted by the Continental Congress on July 4, 1776
British Empire colonial territories in the America from 1607 to 1783 time
and 30 Colonies were declared their independence in the "American Revolutionary War " from 1775 to 1783
and formed the United States of America
. A database management system (DBMS) is general purpose software that _____________________ and _______________________ a database.
Answer: Creating and managing
Explanation:
A database management system (DBMS) is basically the general purpose software that helps in creating and managing the database system. The database management system basically provide the systematic way for creating, updating and managing the data for the users.
The DBMS basically make possible to the end users to read, create, delete and also update the given data in the database system.
A database management system (DBMS) is a software that enables the creation, storage, and manipulation of large datasets. It allows users to easily manage databases and perform complex queries to retrieve specific data.
Explanation:A database management system (DBMS) is a general-purpose software that allows for the creation, storage, maintenance, manipulation, and retrieval of large datasets distributed over one or more files.
For example, Microsoft Access and Oracle are commercial software packages that provide DBMS functionality. With a DBMS, users can easily create and manage databases, perform complex queries to retrieve specific data, and ensure the security and integrity of the stored information.
write a program to insert student grade and print the following
90 -> A
> 80 -> B
> 70 -> C
> 60 -> D
< 60 -> "Fail"
Answer:
The answer is the program, in the explanation
Explanation:
I am going to write a C program.
int main(){
int grade = -1; /*The grade will be read to this variable*/
/*This loop will keep repeating until a valid grade is inserted*/
while(grade < 0 || grade > 100){
printf("Insert the student's grade: %n");
scanf("%d", &grade);
}
/*The conditional according to the grade value*/
if (grade >= 90){
printf("Your grade is A\n");
}
else if (grade >= 80 && grade < 90){
printf("Your grade is B\n");
}
else if (grade >= 70 && grade < 80){
printf("Your grade is C\n");
}
else if (grade >= 60 && grade < 70){
printf("Your grade is D\n");
}
else{
printf("You got a failling grade\n");
}
return 0;
}
Write program to calculate the sum of the following series where in is input by user. (1/1 + 1/2 + 1/3 +..... 1/n)
Answer:
#here is code in Python.
#read the value n from user
n=int(input("enter the value of n:"))
#variable to store the total sum
sum_n=0
for i in range(1,n+1):
# find the sum of series
sum_n=sum_n+1/i
#print the sum
print("sum of the series is: ",sum_n)
Explanation:
Read the value of n from user. Create and initialize a variable sum_n with 0. Run a for loop to calculate sum.Initially sum_n is 0, then for value of i=1 1/i will be added to the sum_n.Then in next iteration for i=1, 1/2 added to sum_n. Similarly loop will run util i equals to n.Then sum_n will store the sum of the
series.
Output:
enter the value of n:5
sum of the series is: 2.283333333333333
Write a program that inputs a series of 10 non-negative numbers and determines and prints the largest of those numbers. Your program should use three variables: Counter - a counter to count to 10 (i.e. to keep track of how many numbers have been input and to determine when all 10 number have been processed) Number - the current number input to the program Largest - the largest number found so far
Answer:
// here is code in C++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int Counter,largest=-1,Number;
cout<<"enter 10 non-negative numbers:";
// read 10 non-negative Numbers
for(Counter=1;Counter<=10;Counter++)
{
cin>>Number;
if entered number is largest so far
if(Number>largest)
{
// update the largest
largest=Number;
// print the largest
cout<<"largest found so far is: "<<largest<<endl;
}
}
return 0;
}
Explanation:
Declare variables Counter,Number and largest=-1.Here Counter is use to keep count of input number.largest to store the largest input so far.And Number to read inout from user.Find and print largest after each input.
Output:
enter 10 non-negative numbers:24
largest found so far is: 24
12
56
largest found so far is: 56
9
8
67
largest found so far is: 67
33
56
98
largest found so far is: 98
100
largest found so far is: 100
Which of the following keywords is used to remove a row in a table? (Points : 2) DROP
DELETE
REMOVE
MODIFY
Answer:
DELETE
Explanation:
DELETE keyword is used to remove a row in a table. The actual syntax is as follows:
DELETE from <TableName> where <Condition>;
For example:
DELETE FROM employee where name='Peter';
This will remove employee with the name Peter from the Employee table.
DROP on the other hand is used to delete the entire table without focussing on a particular row.DROP syntax is as follows:
DROP TABLE <TableName>;
With the help of a for-loop, write a C++ program to input and display any multidimensional matrix.
Answer:
// here is code in C++ to demonstrate a 2-dimensional array.
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int r,c;
cout<<"enter the number of row:";
// read the value of row
cin>>r;
cout<<"enter the number of column:";
// read the value of column
cin>>c;
// create a 2-d array
int arr[r][c];
// read the value of array
cout<<"enter the elements of array:"<<endl;
for(int a=0;a<r;a++)
{
for(int b=0;b<c;b++)
{
cin>>arr[a][b];
}
}
cout<<"elements of the array are:"<<endl;
// print the array
for(int a=0;a<r;a++)
{
for(int b=0;b<c;b++)
{
cout<<arr[a][b]<<" ";
}
cout<<endl;
}
return 0;
}
Explanation:
Here we have demonstrate a 2- dimensional array. In which, how to read the elements and how to print elements of array.Read the value of row and column from user.Create a 2-d array of size rxc. then read the elements of array either row wise or column wise. Then print the elements.To print the elements, we can go either row wise or column.
Output:
enter the number of row:3
enter the number of column:3
enter the elements of array:
1 2 3
9 8 7
2 4 6
elements of the array are:
1 2 3
9 8 7
2 4 6
________ is when the sequence of instruction is guaranteed to execute as a group, or not execute at all, having no visible effect on system state.
Answer: Atomic operations
Explanation: Atomic operations are the process in which are related with the programs which execute in the independent manner and having no relation with other processes or functions.
It is helpful operation in the parallel processing system.The operation assures about being carried out at rapid rate and do not face any deadlock during execution.This does not alter the rate of the system.
Why do we need to pass a size as well as the array to any function/procedure where we want it to use this array?
Explanation:
In C++ or C we don't have a function which tells us the size of array which is required.So it is necessary to pass the size of the arrays in the function.At the time of declaration we declare the size of the array more than we need.Then we store the elements upto the size which is necessary.So the actual size of the array is larger than the size we needed.So hence it is necessary to pass the size of the array.
write a program that reads in initial saving value ( $100 ) and interest rate (use .12 = 12%) per year and then figures out how much will be in the account after 4 months and prints results.
Answer:
// here is program in C++.
// include header
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
float ini_sav;
float i_rate;
cout<<"Enter the initial saving:";
// read initial saving
cin>>ini_sav;
cout<<"Enter interest rate:";
// read interest rate
cin>>i_rate;
// account after 4 months
float account=ini_sav+ini_sav*i_rate*(4/float(12));
// print account
cout<<"Account after 4 months:"<<account<<endl;
return 0;
}
Explanation:
Read initial saving from user and assign it to "ini_sav".Then read interest rate and assign to "i_rate".Then calculate the interest on initial saving after 4 months as "ini_sav*i_rate*(4/float(12))" and to initial saving.This will be the account after 4 months.
Output:
Enter the initial saving:100
Enter interest rate:.12
Account after 4 months:104
In Mandatory Access Control sensitivity labels attached to object contain what information?
a.The item’s classification
b.The item’s classification and category set
c.The item’s category
d.The item’s need to know
Answer:b)The item’s classification and category set
Explanation: Mandatory access control(MAC) is the security component in the computer system. It is regarding the controlling the access of the operating system by the administrator.The accessing is made limited by the MAC according to the sensitivity of the data .
The authorization for user to access the system is based on this sensitivity level known sensitivity label. The objects contain the information regarding the classification and categories or level of items. Thus, the correct option is option(b).
.Visual Studio .NET’s ___________ feature displays all the members in a class
a.real-time error checking
b.Quick Info
c.outlined code
d.Intellisense
Answer:d)Intellisense
Explanation: Visual Studio.NET is the tool for the development of the application .Intellisense is the type of code that is found in the Visual Studio.NET which is used for the intelligent completion of text or code. The factors present in the Visual studio NET has are tracking of the values, increasing the understanding of code,presenting the class member etc.
Other options are incorrect because real time error checking is for the checking of the error raising at the time of execution, Quick info is for gaining data rapidly and outlined code are for display of the hierarchical structure of codes.Thus, the correct option is option(d).
What does the metric column in a routing table do?
Answer:
The metric column basically indicate the cost of the route in the routing table and also decide correct route in the routing table.
In the routing table, the lowest metric route is more preferable route as compared to others. In the networking, the routing table is basically used to store the data or information in the form of table in the router.
In the computer network, the routes are listed for the particular destination in which the routes are basically associate that particular routes.
Discuss the major features of optical disk memory system.
Answer:
Some major features of the optical disk memory system are that:
The optical disk system has high storage capacity and store maximum data in the optical disc. Optical discs are very cost effective and inexpensive for manufacture the optical discs. The optical disk used the laser light for reading the data or information in the optical disk.It basically offer 27 gigabytes on the single 12 centimeter optical memory disk system.A host is rebooted and you view the IP address that it was assigned. The address is 169.254.141.45. Which of the following happened? (Please select one of the four options)
The host received an APIPA address
The host received a public address
The host receive a multicast address
The host received a private address
Answer: The host received an APIPA address
Explanation:
The IP address 169.254.141.45 is within the range of IP address between 169.254.0.0 and 169.254.255.255, which are reserved by the IANA (Internet Assigned Numbers Authority) for those IP addresses denoted as APIPA addresses, where APIPA stands for Automatic Private IP Address.
This means that any IP Address in this range , will be not be in conflict with routable IP addresses.
The month of February normally has 28 days. But if it is a leap year, February has 29 days. Write a program that asks the user to enter a year. The program should then display the number of days in February that year. Use the following criteria to identify leap years: 1. Determine whether the year is divisible by 100. If it is, then it is a leap year if and only if it is also divisible by 400. For example, 2000 is a leap year, but 2100 is not. 2. If the year is not divisible by 100, then it is a leap year if and only if it is divisible by 4. For example, 2008 is a leap year, but 2009 is not.
Answer:
// here is code in java.
import java.util.*;
// class definition
public class Main
{
// main method of the class
public static void main(String[] args) {
// scanner object to read input from user
Scanner s=new Scanner(System.in);
// ask user to enter year
System.out.print("Enter the year:");
// read year
int inp_year=s.nextInt();
// check the leap year
if(((inp_year % 4 == 0) && (inp_year % 100!= 0)) || (inp_year%400 == 0))
{
// print the day in the February of leap year
System.out.println("Year "+inp_year+" has 29 days in February.");
}
else
System.out.println("Year "+inp_year+" has 28 days in February.");
}
}
Explanation:
Read year from user and assign it to variable "year" with scanner object. Check the entered year is a leap year or not. A year is divisible by 100 and then check if it divisible by 400. If both condition is true then year is leap year.If year is not divisible by 100 and divisible by 4 then also it is a leap year. if year is leap then there will be 29 days in February of that year. Else there will 28 days in the February.
Output:
Enter the year:2000
Year 2000 has 29 days in February.
Enter the year:2002
Year 2002 has 28 days in February.
Final answer:
To check if a year makes February have 29 days, you must evaluate if it is divisible by 4 but not 100, unless it's also divisible by 400. A programming example demonstrates how to calculate this in Python.
Explanation:
The Gregorian Calendar is what we use today, which has 28 days in February unless it's a leap year. To determine if it's a leap year, you must check if the year is divisible by 4 but not 100, unless it's also divisible by 400. Here's a straightforward way to write a program in Python that calculates this:
year = int(input('Enter a year: '))
if year % 100 == 0:
if year % 400 == 0:
print('February has 29 days.')
else:
print('February has 28 days.')
else:
if year % 4 == 0:
print('February has 29 days.')
else:
print('February has 28 days.')
This condition checks for the criteria set forth to determine if February in the input year would have 28 or 29 days.
Describe what a relational database is and why relational databases are needed.
Answer:
The relational database is basically used as the set of the table in which the data can be easily accessible without any re-organizing the table in the database.
In the structured query language (SQL), the relational database is used as the standard users and API ( Application programming interface).
Relational database is basically needed to store the information or data in the form of tables. Due to the relational database, we can easily compare the data or information because the data are arranged in the form of columns.
What are design classes? (Points : 6) Design classes are classes whose specifications have been completed to such a degree that they can be implemented.
Design classes are classes whose specifications have been completed to such a degree that they can be programmed.
Design classes are classes whose specifications have been completed to such a degree that they can be approved.
None of these
Answer: implemented
Explanation:I used a bit of deductive logic. Design would be something with parameters and or boundaries like designing a home. Programmed just didn’t seem to fit in because there is no room for creative thinking. Approved? By whom?, you design something to reach a goal and follow to a degree what you designed, maybe within the walls you can add a closet or with design classes they are designed for a purpose but there must be ideas within a design that come up. So implemented makes sense so you have a design that seems to fit and certainly can be implemented meaning it can be used for a purpose to teach or help.
The MAC address is a _____ bit number.
Answer:
48.
Explanation:
MAC addresses are 48 bits or 6 bytes or 12 digit hexadecimal numbers.There are three formats of writing the MAC address which are as following:-
MM-MM-MM-SS-SS-SS
MMM.MMM.SSS.SSS
MM:MM:MM:SS:SS:SS
MAC address also called the physical address is a binary number which is used to uniquely identify the computer network adapters.MAC address is assigned to the system at the time of manufacturing.
Answer: 48 bits
Explanation:MAC (Media Access control) address is the the unique identity provided to the device in a particular network. The communication taking place in a networking is done by the MAC address .
MAC address is a hexadecimal value of 12 digit which is found on the network interface card (NIC). The address is of 6 bytes which is equals to 48 bits.
Example of MAC address- 00:0b:95:9a:62:15
-What is/are the goal/s of Business Intelligence systems?
Answer: Business intelligence system is a system that is used in the field of business and organizations for generations of the strategy and plans to make decision. This system consist of the business intelligence(BI) tools. It creates a connection in the different information/data and takes them to the business organization.
Business intelligence system has goals like:-
Increasing daily salesFast the growth rate of the businessimproving the rental performanceGaining more profit
How to determine if the function f(x) = x^2 + 3 from real numbers to real numbers is Injective, surjective, or bijective
Answer:
The function is not injective.
The function is not surjective.
The function is not bijective.
Explanation:
A function f(x) is injective if, and only if, [tex]a = b[/tex] when [tex]f(a) = f(b)[/tex].
So
[tex]f(x) = x^{2} + 3[/tex]
[tex]f(a) = f(b)[/tex]
[tex]a^{2} + 3 = b^{2} + 3[/tex]
[tex]a^{2} = b^{2}[/tex]
[tex]a = \pm b[/tex]
Since we may have [tex]f(a) = f(b)[/tex] when, for example, [tex]a = -b[/tex], the function is not injective.
A function f(x) is surjective, if, and only if, for each value of y, there is a value of x such that [tex]f(x) = y[/tex].
We have that y is composed of all the real numbers.
Here we have:
[tex]f(x) = y[/tex]
[tex]y = x^{2} + 3[/tex]
[tex]x^{2} = y - 3[/tex]
[tex]x = \sqrt{y-3}[/tex]
There is only a value of x such that [tex]f(x) = y[/tex] for [tex]y \geq 3[/tex]. So the function is not surjective.
A function f(x) is bijective when it is both injective and surjective. So this function is not bijective.
Convert (126)10 to binary.
Answer:
[tex]126_{10}=1111110_2[/tex]
Explanation:
In order to get this convertion done, we have to divide by two the decimal number, take note of the quotient and reminder, then divide the result by two until the result of the division is zero.
[tex]126| 2[/tex]
[tex]quotient_1=63\\remainder_1=0[/tex]
[tex]63| 2[/tex]
[tex]quotient_2=31\\remainder_2=1[/tex]
[tex]31| 2[/tex]
[tex]quotient_3=15\\remainder_3=1[/tex]
[tex]15| 2[/tex]
[tex]quotient_4=7\\remainder_4=1[/tex]
[tex]7| 2[/tex]
[tex]quotient_5=3\\remainder_5=1[/tex]
[tex]3| 2[/tex]
[tex]quotient_6=1\\remainder_6=1[/tex]
[tex]1| 2[/tex]
[tex]quotient_7=0\\remainder_7=1[/tex]
Now the last remainder is the most significant bit, and the first remainder the least significative, so:
[tex]126_{10}=1111110_2[/tex]
What is the Multiple Items tool?
Explanation:
when a form is created in Microsoft Access using the form tool it displays a single record at a time.To display multiple records and the form should be more customizable then in this case we use Multiple Items tool.
Creating a form using Multiple Items Tool:-
In navigation pane click query or table which contains the data that we want to see on the form.
On create tab,in the group Forms,click more Forms,then click Multiple Items.
What is CSMA/CD and how does it work?
Answer:
Carrier Sense Multiple Access / Collision Detection abbreviated as CSMA/CD, is known as a set of rules that determines how a network devices tends to respond when devices attempt to use data channel simultaneously. It tends to work by detecting a collision in the medium and backing off as necessary. Consider a LAN with several hosts. When one of them transmits a frame, it tends to listens on medium in order to check whether medium is busy.
. assures that individuals control or influence what information related to them may be collected and stored and by whom and to whom that information may be disclosed. A. Availability B. System Integrity . Privacy D. Data Integrity
Answer: Privacy
Explanation: Privacy is defined as information or content that is kept to the selected or desired resources and people.It is like a boundary after which the information should not be shared or disclosed because of the privates reasons such as insecurity , protection etc.It is followed for confidential and sensitive content to remain secure and cannot be misused.
Other options are incorrect because availability is referred serviceability of data, system integrity is assuring no unauthorized action in system for modification and data integrity assures about the safeness and reality of information without manipulation .Thus, the correct option is privacy.
What is a 'balanced' dfd?
Answer:
The balanced DFD (Data flow diagram) is the concept of the balancing all the state and incoming and also outgoing flow in the system.
The balanced data flow diagram basically ensure that the output and input data flow maintain the consistency in the DFD and are properly aligned the flow of data.
A balanced DFD does not include any type of flowchart in the control statement and also does not contain any crossing lines.
Answer:
It is how you place an input then you get an output of a graphic
Explanation:
what are indexes in a database?
a Indexes are locations of tables within a database.
b Indexes are the quick references for fast data retrieval of data from a database.
c Indexes are the slow references for fast data retrieval of data from a database.
d Indexes are the quick references for fast data inserts of data.
Answer: A) Indexes are locations of tables within a database.
Explanation: The index of a database is a data structure that improves the speed of operations, by means of a unique identifier of each row of a table, allowing rapid access to the records of a table in a database. It has an operation similar to the index of a book, keeping pairs of elements: the element to be indexed and its position in the database.
Which of the following functions is NOT performed at layer 6 of the OSI model? (Please select one of the four options)
Routing of the message
Encryption
Compression
Converting the message to a format that is understood by the destination
Answer: The function that is NOT performed at the layer 6 of the OSI model from the options presented, is the first one: Routing of the message.
Explanation:
In the OSI model, Layer 6 is called the Presentation Layer, and is basically responsible of taking the message forwarded by one Application Layer protocol (like HTTP) and formatting it a way that can be uniquely decoded at his intended destination.
This processes can include Encryption and Compression, among others.
So, Layer 6 is not responsible for routing the message (this is a function of the Layer 3, the Network Layer).
. What are regressions?
Answer:
Regressions is the statistical analysis that is basically used for the measurement in different type of the investing data and financial data.
It is basically used to determined the relationship between the depended and independent variable.
By using regression, it include various types of the technology for analyzing and modeling various types of variable. It is also used in many business to predict the various exchange rate and stock prices.
One advantage of using a security management firm for security monitoring is that it has a high level of expertise.
True
False
Answer: True
Explanation: Security management firm is the organization that provides protection to the system, functions,data, people etc of any particular business organization.They are highly capable of the problem avoidance, management of risk and other such issues.
The monitoring of the security done by the people and devices of the security management firm are more reliable and assured due to the expert skill they persist in the security field. Thus, the given statement is true.
Answer:
The correct answer to the following question will be True.
Explanation:
Security management firm is the organization that provides security to any particular business organization's network, processes, records, people etc.They are highly capable of avoiding the problem, handling the danger and other such problems.
Communicate to workers that maintaining the network is in the best interests not only of the company but also of consumers.Raise knowledge of security issues amongst workers.Provide appropriate training for the health of employees.Track user behavior to determine implementation of the protection.The security monitoring performed by the security management firm's people and equipment is more accurate and confident due to the experience they retain in the field of security. Therefore, the statement given is valid or True.
What is the period of a 2 KHz sine wave?
Answer:
Period of the given wave is 0.5 milliseconds.
Explanation:
We are given the frequency of the wave as 2 KHz
We know the relation between period and frequency of a wave is given by
[tex]Period=\frac{1}{frequency}[/tex]
Applying the given values we get
[tex]Period=\frac{1}{2\times 10^{3}}\\\\\therefore Period=0.5\times 10^{-3}seconds[/tex]
Thus period is 0.5 milliseconds.