Answer: Strong 128-bit encryption.
Explanation: An individual character corresponds to 8 bits . So if there are 16 characters then,
16[tex]\times[/tex]8=128 bits keys
This makes the 128 bit key encryption the strongest amongst all other options.It is strongest because it is almost impossible to decode the 128-character key by any method e.g.-brute-force method.
Other options are incorrect because the characters given by the other bits are as follows: [tex]{\frac{256}{8}[/tex]=32 characters
[tex]{\frac{512}{8}[/tex]=64 characters
[tex]{\frac{512}{8}[/tex]=128 characters
Thus, the strongest character key is of 128 bits. for cipher.
_______For the C programming language, files containing the code you write are named with a file extension of .g. (T/F)
Answer:
False.
Explanation:
In C programming language the file which containing the code that we are writing the code is have the file extension .c and for c++ it is .cpp. C programming language is a general purpose procedural computer programming language.
.g file extension is for data chart file format used by APPLAUSE database development software.
Hence the answer to this question is false.
Analyze the impact of economic factors on the development of IT strategy decisions at the enterprise level of the organization.
Answer:
The unstable economical factor affect on the development of the IT strategies. The economical condition also vary with the results which is basically depend upon the company product and services.
Due to weak economical factor, it become risky to the business in terms of economical growth, inflation rate and interest rate as these all are very important during the decision making process.
The economical factor are basically interlink with the political factor also. Interest rate also play an important role in the economical factor as it help in the growth and development of the company.
Answer and explanation:
Economic factors are those who influence the fluctuations of the economy. Among those factors we can identify interest rates, tax rates, law, policies, wages, and governmental activities. At the corporate level, in the Information Technology industry as in any other, those factors determine what decision entrepreneurs will take to conduct their businesses. Indirectly what investment managers will decide to choose, what the salary of the employees will be, what the size of production could be, and to what market the product could be offered.
. What is meant by the term three tier architecture.?
Answer:
The three tier architecture is based on the client and server architecture. It is basically maintain the independent module on the individual platform.
In the three tier architecture, it include various functional process, data computer storage and the user interface are basically developed in this architecture.
The three tier architecture are:
Presentation layerApplication layerData layer
The value of the mathematical constant e can be expressed as an infinite series: e=1+1/1!+1/2!+1/3!+... Write a program that approximates e by computing the value of 1+1/1!+1/2!+1/3!+...+1/n! where n is an integer entered by the user.
Answer:
// here is code in c++ to find the approx value of "e".
#include <bits/stdc++.h>
using namespace std;
// function to find factorial of a number
double fact(int n){
double f =1.0;
// if n=0 then return 1
if(n==0)
return 1;
for(int a=1;a<=n;++a)
f = f *a;
// return the factorial of number
return f;
}
// driver function
int main()
{
// variable
int n;
double sum=0;
cout<<"enter n:";
// read the value of n
cin>>n;
// Calculate the sum of the series
for (int x = 0; x <= n; x++)
{
sum += 1.0/fact(x);
}
// print the approx value of "e"
cout<<"Approx Value of e is: "<<sum<<endl;
return 0;
}
Explanation:
Read the value of "n" from user. Declare and initialize variable "sum" to store the sum of series.Create a function to Calculate the factorial of a given number. Calculate the sum of all the term of the series 1+1/1!+1/2!.....+1/n!.This will be the approx value of "e".
Output:
enter n:12
Approx Value of e is: 2.71828
Euler's number, e, can be approximated using a series expansion. The provided C program calculates e by summing the series up to 1/n! where n is entered by the user.
Euler's number, e, is a mathematical constant approximately equal to 2.71828. It can be computed using the series expansion:
e = 1 + 1/1! + 1/2! + 1/3! + ... + 1/n!Below is a C program that approximates e by computing the sum up to 1/n! where n is an integer entered by the user.
#include <stdio.h> Which of the following declares an abstract method in an abstract C++ class? (Points : 2) public: void print();
public: void print() {}
public: virtual void print() {}
public: virtual void print()=0;
Answer:
public: virtual void print()=0;
Explanation:
An abstract class contains a pure virtual function. Pure virtual class cannot be instantiated but it can be subclassed and the subclass can provide an implementation of the function.
A virtual function declaration in the class is preceded by the virtual keyword. For example, virtual void print();
A pure virtual function declaration is followed by '=0;'
public: virtual void print()=0;
Extended ACLs can filter traffic based on _____. (Points : 3) protocol type
source IPv4 address
source TCP or UDP ports
All of the above
Answer: All of the above
Explanation: Extended Access Control Lists(ACL) is the system that works between the Source IP address and the destination IP address for the granting or denying the permission for the traffic flow. This has very certain functioning and allow the traffic on the basis of the protocols such as TCP(transmission control protocol),UDP(user datagram protocol) etc.
All the given option are correct because IPv4(internet protocol version 4), TCP pots and UDP ports are the protocol types for source and can be filtered through extended ACL. Thus the correct option is all of the above.
Write two cin statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a dash, and the year. End with newline. The program will be tested with inputs 1 2000, and then with inputs 5 1950. Ex: If the input is 1 2000, the output is: 1-2000 Note: The input values come from user input, so be sure to use cin statements, as in cin >> birthMonth, to get those input values (and don't assign values directly as in birthMonth
Answer:
// here is code in c++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main() {
// variables to read birth month and year
int birthMonth,birthYear;
cout<<"Enter the birth month:";
// read the birth month
cin>>birthMonth;
cout<<"Enter the birth Year:";
// read the birth year
cin>>birthYear;
// print the output
cout<<birthMonth<<"-"<<birthYear<<endl;
return 0;
}
Explanation:
Declare two variables "birthMonth" and "birthYear". Read the value of birthMonth and birthYear from user. Then print the birth month and birth year and a dash(-) in between them.
Output:
Enter the birth month:1
Enter the birth Year:2000
1-2000
Enter the birth month:5
Enter the birth Year:1950
5-1950
The program is an illustration of a sequential program, and it does not require loops, iterations or conditions.
The programming statements in C++, where comments are used to explain each line is as follows:
//This gets input for birthMonth
cin>>birthMonth;
//This gets input for birthYear
cin>>birthYear;
// This prints the month, a dash, and the year
cout<<birthMonth<<"-"<<birthYear;
Read more about similar programs at:
https://brainly.com/question/15187402
What is a URI (include example)
Answer:
URI is the uniform resource identifier and it is basically a sequence of the character which identify the physical and logical resources. The uniform resource identifier basically contain the predefined set of rules and syntax and also maintain the extensibility hierarchical schema.
There are basically two types of URI that are:
1) Uniform Resource Name (URN)
2) Uniform Resource Locator (URL)
For example: HTTP protocol , file transfer protocol (FTP).
What is a relational database management system and how does it relate to a database administrator?
Answer: A database management system tends to support administration, development, and use of the platforms. A Relation Database Management System (RDBMS) is referred to as a type of Database Management System (DBMS) that consists of a structure(row-based table) that tends to connect data elements and also involve functions that are supposed to maintain accuracy, security, consistency and integrity of the data.
What are three key characteristics of an OS process?
Answer:
The three key charactertics of the operating system process is that:
The process of the operating system is the instance of the program that can be executed and run.The operating system process is represented by the code and program. It is also indicated by the parameters that it is also allow in the situation if any interruption occur. In the case of the Linux operating system the process is also used to indicate as task in the system.. Convert your age into binary and then to hexadecimal. Show your work.
Explanation:
Age = 23.
To convert a base 10 number to hexadecimal number we have to repeatedly divide the decimal number by 16 until it becomes zero and store the remainder in the reverse direction of obtaining them.
23/16=1 remainder = 5
1/16=0 remainder = 1
Now writing the remainders in reverse direction that is 15.
My age in hexadecimal number is (15)₁₆.
Flash memory is:
a) a semiconductor
b) a type of ROM
c) non-volatile
d) all of the above
e) none of the above
Answer:
d) all of the above.
Explanation:
Flash Memory is a memory storage that is non volatile.It can be erased electrically and reprogrammed since it is a type of ROM(Read Only Memory).It is the least expensive form of semiconductor memory.It offers lower power consumption and can be erased in large blocks.
Hence the answer to this question is option d.
Which of the following is NOT a MySQL table storage engine?
(a) Blackhole
(b) SuperNova
(c) MyISAM
(d) MRG_MyISAM
(e) InnoDB
Answer:
(b)Supernova.
Explanation:
MYSQL storage engines are software modules that are used by the database management systems to read,update,create from a database.
There are basically two types of storage engines Transactional and Non-Transactional.
Among the names engines provided all of them are MYSQL storage engines except supenova.
The technology which is not a MySQL table storage engine is: B. SuperNova
What is MySQL?MySQL can be defined as open-source relational database management system (RDBMS) that was designed and developed by Oracle Corporation in 1995. Also, MySQL was developed based on structured query language (SQL).
In Computer technology, there are various storage engine that are designed and developed for use in MySQL table and these include the following:
BlackholeMyISAMMRG_MyISAMInnoDBHowever, SuperNova is not a MySQL table storage engine.
Read more on MySQL here: https://brainly.com/question/24443096
Social engineering is deceiving or using people to get around security controls.
True
False
Answer: True
Explanation:
Social engineering, in regards to information security, it is referred to as the cognitive manipulation of an individual into divulging confidential data and information. This also tends to differs from social engineering within discipline and domain of social sciences, which usually does not concern with the divulging of confidential data and information.
Answer: FALSE
Explanation:
When passing data values between different machines with different operating systems what problems have to be solved?
Final answer:
When passing data values between different machines with different operating systems, several problems need to be solved, including file compatibility, encoding and character sets, and network connectivity.
Explanation:
When passing data values between different machines with different operating systems, there are several problems that need to be solved:
File Compatibility: Different operating systems may have different file formats and structures, making it difficult to open and read files created on one system on another system. For example, a file saved in a specific format on a Windows machine may not be compatible with a Mac machine.
Encoding and Character Sets: Different operating systems may use different encoding and character sets, which can lead to garbled or incorrect data when transferring files. For example, a file containing special characters in one encoding system may not be correctly interpreted by another system.
Network Connectivity: Transferring data between machines with different operating systems may require establishing compatible network connections and protocols. This can involve configuring firewalls, setting up appropriate network protocols, and ensuring both machines can communicate effectively.
To address these problems, various software and tools are available that enable file conversion, encoding conversion, and network compatibility. Additionally, establishing good communication channels and protocols between machines is essential for successful data transfer.
The data field in an ethernet frame contains between 46 and _______ bytes of information.
Answer: 1500 bytes
Explanation:
In the ethernet frame, the data field basically contain 46 to 1500 bytes of information.
The ethernet frame begins with the header, that basically contains MAC addresses source and its destination in the network, along with some other information. The center part of the given frame contain genuine information. The edge of the frame closes with the field known as Frame Check Sequence (FCS).
The tag information or data is also being added for creating the particular data field of the MAC client.
If the code in a method can potentially throw a checked exception, then that method must:
a.)handle the exception
b.)have a throws clause listed in the method header
c.)neither handle the exception nor have a throws clause listed in the method header
d.)either handle the exception or have a throws clause listed in the method header
Answer:
d.)either handle the exception or have a throws clause listed in the method header
Explanation:
A checked exception that can be thrown in a method , necessarily needs to be handled in the method in one of the two ways:
Handle the exception in codeHave a throws clause in method headerFor example, let us see both:
a)
public void mymethod(){
// Exception handling using try/catch block
try{
}
catch ( IOException e){
}
}
b)
public void mymethod() throws IOException{
// Exception in the throws clause
}
__________________ are evaluations of a network
Answer:
The evaluation of the network is basically depend upon the various factors such as the stage, type and size of the network development. The main purpose for the evaluation of the network is that the system works with high efficiency without any interruption in the network.
According to the size and the type of the network we can easily evaluate the particular network in the system and then we can easily work on the network infrastructure to make the network more efficient.
. Write an if/else statement that assign "Excellent" to variable comments (a string data type) when score is 90 or higher, "Good" when score is between 80 and 89, and "Try Harder" when score is less than 80.
Answer:
Following are the program in c++
if(score>= 90)
// check if score 90 or higher
{
comments = "Excellent"; // initialize comments to excellent
}
else if(score<90 && score >= 80)
// check if when score is between 80 and 89
{
comments = "Good"; //initialize comments to good
}
else
//when score is less than 80.
{
comments = "Try Harder"; //initialize comments to try harder
}
Explanation:
Following are the program in c++ language
#include<iostream> // header file
using namespace std; // namespace
int main() // main function
{
string comments; // variable
int score; // variable declaration
cout<<" enter score ";
cin>>score;
if(score>= 90)
{
comments = "Excellent"; // initialize comments to execellent
}
else if(score<90 && score >= 80)
{
comments = "Good"; //initialize comments to good
}
else
{
comments = "Try Harder"; //initialize comments to try harder
}
cout<<comments;
return(0);
}
Output:
enter score
45
Try Harder
In this we check the condition
if score>= 90 then it store the Excellent in variable comments of type string
if(score<90 && score >= 80)
it store the Good in variable comments of type string.
otherwise it store harder in variable comments of type string.
Write an application that calculates and displays the weekly salary for an employee. The main() method prompts the user for an hourly pay rate, regular hours, and overtime hours. Create a separate method to calculate overtime pay, which is regular hours times the pay rate plus overtime hours times 1.5 times the pay rate; return the result to the main() method to be displayed. Save the program as Salary.java.
Answer:
// import package
import java.util.*;
// class definition
class Salary
{
// method to calculate weekly salary
public static double fun(int p_rate,int r_hour,int o_hour)
{
// calculate weekly salary
double w_salary=(p_rate*r_hour)+(o_hour*p_rate*1.5);
// return salary
return w_salary;
}
// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// object to read value from user
Scanner scr=new Scanner(System.in);
System.out.print("enter hourly pay rate: ");
// read hourly pay rate
int p_rate=scr.nextInt();
System.out.print("enter regular hours: ");
//read regular hours
int r_hour=scr.nextInt();
System.out.print("enter overtime hours : ");
// read overtime hours
int o_hour=scr.nextInt();
// call the method
System.out.println("weekly salary of an employee :"+fun(p_rate,r_hour,o_hour));
}catch(Exception ex){
return;}
}
}
Explanation:
Read hourly pay rate, regular hours and overtime hours from user.Call the method sal() with these parameters.There weekly salary is calculated by multiply regular hours with p_rate and overtime hours with 1.5 time of p_rate.Sum both of them, this will be the weekly salary.return this to main method and print it.
Output:
enter hourly pay rate: 50
enter regular hours: 35
enter overtime hours : 15
weekly salary of an employee :2875.0
The `Salary` application prompts the user for hourly pay rate, regular hours, and overtime hours, then calculates and displays the weekly salary using a separate method to calculate overtime pay.
Here's the Java program `Salary.java` that calculates and displays the weekly salary for an employee:
import java.util.Scanner;
public class Salary {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
// Prompt the user for input
System.out.print("Enter hourly pay rate: ");
double hourlyPayRate = scanner.nextDouble();
System.out.print("Enter regular hours: ");
double regularHours = scanner.nextDouble();
System.out.print("Enter overtime hours: ");
double overtimeHours = scanner.nextDouble();
// Calculate and display the weekly salary
double weeklySalary = calculateWeeklySalary(hourlyPayRate, regularHours, overtimeHours);
System.out.println("Weekly salary: $" + weeklySalary);
scanner.close();
}
// Method to calculate overtime pay
public static double calculateWeeklySalary(double hourlyPayRate, double regularHours, double overtimeHours) {
double regularPay = regularHours * hourlyPayRate;
double overtimePay = overtimeHours * hourlyPayRate * 1.5;
return regularPay + overtimePay;
}
}
Explanation:
The `main` method prompts the user for input: hourly pay rate, regular hours, and overtime hours.It then calls the `calculateWeeklySalary` method to calculate the weekly salary based on the provided inputs.The `calculateWeeklySalary` method calculates the regular pay and overtime pay separately, then returns the total weekly salary.Finally, the main method displays the calculated weekly salary.You can compile and run this program to calculate and display the weekly salary for an employee based on the provided hourly pay rate, regular hours, and overtime hours.
Why does software have bugs?
Answer:
Human errors, changing requirements, complicated software, etc.
Explanation:
A bug in software is a coding error. The effects are often unexpected and affect the way a programme works, often resulting in the programme not functioning in the way it was intended. There are various reasons that bugs can exist in software, including (but not limited to) the following:
Human errors in programming and design is the most common reason for bugs. This could be as a result of time pressure, simple mistakes, or any other human related issue.Changing requirements, or even just misunderstandings between the parties involved, can often be a cause of bugs.Complicated software can often result in programmers making errors.Lack of documentation or updates being made by different programmers using different tools.Final answer:
Software has bugs due to the complex nature of writing and integrating numerous lines of code, and the limitations of computer calculations. These bugs provide opportunities for learning and improving through good programming practices and debugging strategies. Quality assurance plays a key role in identifying potential bugs, helping to create more reliable software.
Explanation:
Software bugs are a common occurrence and they stem from a variety of sources. Writing software is a complex process, involving numerous lines of code, and the interaction between these lines can sometimes produce unexpected results, known as bugs. Consider bugs as an opportunity for growth; they provide a chance to learn and improve the software. Quality Assurance (QA) teams are essential in this process, constantly trying to break the software to identify potential issues. Good programming practices and debugging are critical in making the software more reliable. However, due to the complexity of software and limitations such as the accuracy of floating-point calculations, it's hard to eliminate all bugs.
It is important to proactively think about errors during development by asking, "What could go wrong here?" Moreover, implementing unit testing, which involves testing small, isolated parts of the program, helps identify and fix bugs early on. Nevertheless, as programs grow in size and complexity, the likelihood of bugs increases, making the debugging process more challenging.
Simplifying the program can sometimes be the best strategy when faced with a complex bug situation. It allows the developer to strip down to the basics and tackle issues one at a time. Remember, bugs are inevitable, but with careful testing and professional practices, their impact can be minimized, maintaining the credibility of software output.
how can i take out a random (double) number in between 5.0 to 15.0 in c++?
Answer:
#include <iostream>
using namespace std;
int main() {
srand(time(0));
for(int i=0;i<5;i++)
{
double f = (double)rand() / RAND_MAX;//generating random numbers.
double a= 5.0 + f * (15.0 - 5.0);//random numbers in range provided.
cout<<a<<" ";
}
return 0;
}
Explanation:
The above program generate five random numbers in the range 5.0 to 15.0.The function rand() is used to generate random numbers.First we have to call srand(time(0)) otherwise the rand() function will generate same random numbers over and over every time.
Continuous reboots of a Windows host upon encountering a persistent stop error might be caused by Startup and Recovery configuration settings in the Control Panel System applet (System -> Advanced system settings -> Advanced -> Startup and Recovery -> Settings... -> System failure).
(A) True
(B) False
Answer:
True.
Explanation:
Sometimes there comes a problem in computer systems of continuous reboots of a windows this could due to following reasons such as software issues,bad power supply,bad hard drive,hardware issues.
If the issue is from startup and recovery configuration or software you can see it by going in the Control Panel System applet given in the question.
what would you consider the most effective perimeter and network defense methods available to safeguard network assets?
Answer: There are several methods that are used for maintenance of safety and defensing the network against any type of hacking or attacking.Some of the methods are mentioned as follows:-
Denial of service attack(Dos)-it is the type of service that does not let the unauthorized sources and users to use the resources of the service.Intrusion detection system(IDS)-it is the system that is used for the detection of any unauthorized access happening in the system.It detects the accessing on the basis of host and networkFirewall-is the system for the security of network for controlling the traffic that enters and exits a networks and maintains barriers by blocking untrusted traffic.
Name three "Hints" for computer systems design.
Answer:
The three hints for the computer system design is that:
Implementation is the important key feature while designing the computer system design. It also implement new application of the software and also help in the structure analysis and data modeling in the organization. Planning is efficient way for computer system design as it help the organization to understand the proper software architecture and modules. Performance should be good, efficient and useful for the computer system design and it increase the capability of fault tolerance in the computer system. When using _____, developers are required to comply with the rules defined in a framework. (Points : 2) inheritance
base classes
object-oriented constructs
contracts
None of the above
Answer: Contracts
Explanation:
The contract is the mechanism which is basically used by the developers to follow the set of rules that is defined in the framework with the proper specification in the API ( Application programming interface).
The contract is the proper agreement between the two and more developers so that they must follow the rules that is mentioned in the agreement contract.
The contract is widely used in the software development process in which all the possible design requirement are mentioned according to the needs of the client.
Therefore, Contract is the correct option.
Once the destination has been reached the network makes a connection at what layer to connect for transfer or data?
a) network b) data link c) physical d) transport
Answer: (C) Physical
Explanation:
When the destination are selected by the network then, it makes the connection for transferring the data packets by using physical layer.
As, the physical layer is basically responsible for transmitting the data and reception of the data between the physical medium and device.
The physical layer basically provide the electrical interface during the transmission of data. The physical layer in the network basically provide the hardware elements like cable, ethernet and repeaters.
Defining a(n) ______________ of an object is called instantiation.
(Points : 2) object
link
instance
prototype
Answer: Instance
Explanation: Instantiation is the creation of the instance for any particular object in the field of object-oriented programming concept. The previously defined objects are realized in a program.This object that gets created in the class is provided with the name and placed in the memory.
They have their certain methods, process and properties on which they access.Other options are incorrect because instantiate object does not gets created from the link, object or prototype.Thus, the correct option is instance.
Standards are used when an organization has selected a solution to fulfill a policy goal.
True
False
Answer: True
Explanation:
Yes, the given statement is true that the standard are basically used when the organization are selected for the solution to fulfilling the particular policy goals. In the organization are standard are basically require for the software and hardware solutions to control the security risk.
Adopting standard in the organization it provide many advantages like it helps to save money and productivity of the organization or company.
Standard are basically establish a common throughput in the organization which provide all the department in the organization on the same level.
If you are looking at the OSI model Protocol Stack, what layer is the only layer with both a header and trailer?
Answer: Data-link layer
Explanation:Data link layer is the second layer of the OSI(Open system interconnection) that functions by managing the movement of the data/information into physical link. This layer encapsulates both header and trailer.
Header is the part of data link layer that has the purpose of having control data and its activities which are added at the start of PDU(protocol data unit) like addressing .Trailer is the part that serves as containing the information of control which gets attached at the bottom part of the PDU