Answer:
Following are the code which is mention below.
bool equals (int x, int y) // method equals
{
if( (x<0) || (y<0) ) // check number if it is less then 0
return false; // return false
if( (x==0) && (y==0) ) // check condition if number is equal to 0
return true; // return true
return equals(x-1, y-1);
}
Explanation:
Here we declared a function "equals" of type bool which means it either return "true" or "false".Inside the function equals we check the condition which are mention above1. if x and y both are less then 0 then it returns "false".
2. if x and y both are equal to 0 then it returns "true"
3. Otherwise it return x-1 and y-1.
Patrick is creating a form for his Web site, and he wants to have visitors provide their names. Which HTML5 code would ensure that users enter their first names prior to submitting the form?
Answer:
required is the HTML5 keyword that will be used. See the snippet in the explanation.
Explanation:
<form>
<label>FirstName</label>
<input type="text" name="firstname" required>
<button>Submit</button>
</form>
The above snippet will not allow the web page to be submitted until the firstname field is filled with text.
USB 3.0 is a considerable advancement over its predecessors. Different cabling is required to support the higher throughput. Given this, what will you use to identify the USB 3.0 B-Male connector?
a. aize
b. all choices apply
c. shape
d. color
Answer: (B) All choices apply
Explanation:
All the given options are used for identifying the USB 3.0 B male connector such as size, color and the shape.
The USB 3.0 B is the type of connector which is used in printer and many different types of peripheral devices. This type of connector are used in various high speed applications.
The USB 3.0 B Male connector is one of the type of USB 3.0 connector of the standard B type connector. It is in the form of square type shape and it is usually found in various USB host devices. We can easily identifying these connector based in its Size, shape and also color.Therefore, Option (B) is correct.
Java performs ________, which means that it does not allow a statement to use a subscript that is outside the range of valid subscripts for the array.
a. active array sequencing
b. buffer overrun protection
c. array bounds checking
d. scope resolution binding
Answer:
The correct option to the following question is an option (c) array bounds checking
Explanation:
Array bound checking is the checking is the checking of the elements of an array, when the number of the array goes beyond the number of array that is given at the time of declaration of the array.
This time if the programmer executes the program than an error arises that is 'IndexOutOfBoundsException'.
For Example:
//import packages
public class A { //define class
//define main function
public static void main(String args[]) {
int[] ar = {8, 6, 7, 0, 2, 23, 7}; //set integer array type variable
System.out.println("Array are:: "); //print message
System.out.println(Arrays.toString(ar)); //convert array into string
Scanner s = new Scanner(System.in); //creating object of Scanner
System.out.println("Elements enter ::"); //print message
int e = s.nextInt();
System.out.println("Elements are :: "+ar[e]); //print array
}
}
Output:
Array are::
[8, 6, 7, 0, 2, 23, 7]
Elements enters ::
7
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 7
at A.main(A.java:12)
Identify a disadvantage of an instant online storefront.a. The store is based on a template and may look very similar to other online stores.b. The store can be ready in minutes.c. The store cannot accept credit cards.d. None of these
Answer:
The correct option to the following question is an option (a).
Explanation:
Because many of the online shoppers has unable to inspect that items which they are buying from online and they considered same as they see on the stores' template but sometimes these outlets are cheaper in pricing but also cheap in quality also because they don't know what type of quality they are buying.
Words used by a system that cannot be used for any other purpose are called __________ words. For example, in oracle sql, the word initial cannot be used to name tables or columns
Answer:
Reserved words
Explanation:
Reserved words are words that have predefined meaning in a system and cannot be use for another purpose like naming. Reserved word also contain keywords; that is, key words are reserved words.
Many company websites are now designed to do more than just sell a product. These websites, known as __________ websites, attempt to build closer customer relationships and generate engagement with and between the brand and its customers.
Answer:
brand community
Explanation:
Many company websites are now designed to do more than just sell a product. These websites, known as brand community websites, attempt to build closer customer relationships and generate engagement with and between the brand and its customers. These online communities bring together consumers who have shared interests in a brand or product. One advantage of online brand communities is that they reduce customer support costs as the business has more engagement with their customers.This also helps the business to retain customers through brand improvement centered around the customer's actual needs.
The advent of mobile systems run by Android and other operating systems opens a wide range of new system management and security concerns for systems administrators, including the _____ paradigm in which an organization’s members connect their personal devices directly to a secured network.
Answer:
bring your own devices
Explanation:
"bring your own devices" paradigm is getting popular since organizations are increasingly allowing users to perform work tasks on their own personal devices, It is preferred because of the benefits and ease for the user. On the other hand, this paradigm opens several security risks.
For example processing sensitive data on personal devices creates risks in case of data recovery or if the device is stolen or lost.
Additionally, control and monitoring of organizational data is harder when users allowed to work on their personal devices. Thus data leakage and public exposure can happen more easily.
The use of an information system to support the sharing of content among networks of users related by common interests is termed __________.
A. media networks
B. online communities
C. common media systems
D. social networks
E. social media information systems
Answer:
The answer is E, Social media information system.
Explanation:
What makes the answer unique is the fact that the system only supports information shared within a specific group of local network users.
By definition, Social media information system is an information technology tool that assists in the reversible distribution of information or digital content among people of like and similar network.
____ documents consist of the text to be displayed on a Web page, together with a number of special characters: tags that achieve formatting, special effects, and references to other similar documents.
Answer:
HTML
Explanation:
HyperText Markup Language ( HTML ) -
It is the foundation block of the Web page , which gives the main frame and structure to the web page .
It is basically the type of language which is coded and generates a web page , and many web pages combine together to make up a web site in the internet .
Many features like , formatting , color , fonts , special effects and special characters can be used in a coding of the HTML .
In order to be accredited by the Better Business Bureau, a business is required to publish a privacy notice on its website that includes all of the following elements EXCEPT a. sharing and selling b. updates c. choice d. access
Answer:
Explanation:Option D (Access)
Assume that input file references a Scanner object that was used to open a file. Which of the following while loops shows the correct way to read data from the file until the end of the file is reached?
a) while (inputFile != null)
b) while (!inputFile.EOF)
c) while (inputFile.hasnextInt())
d) while (inputFile.nextLine == " ")
Answer:
The correct answer to the following question is an option c) while (inputFile.hasnextInt()).
Explanation:
hasnextint() is the function of the scanner class which is "java.util.Scanner".
This method returns the boolean value so the data type of this method is boolean.
Integer values of radix are assumed only when a next token is in the Scanner input and it returns output True.
The other options are false because the input file can be null and the end of file is not equal to the input file and the next line is equal to the space and also the other options are not the object of the scanner class.
Write some code that reads a value into the variable name then prints the message "Greetings, NAME" on a line by itself, where NAME is replaced the value that was read into name. For example, if your code read in "Rachel" it would print out "Greetings, Rachel" on a line by itself.
Final answer:
To read a value into a variable and print a message in Python, use the input() function to get the value from the user and the print() function to display the message. Concatenate the variable containing the value with the desired message using the '+' operator.
Explanation:
To write code that reads a value into a variable and prints a message, you can use the input() function in Python. Here is an example:
name = input("Enter your name: ")
print("Greetings, " + name)
In this code, the input() function prompts the user to enter a value, which is then stored in the variable name. The print() function is used to display the greeting message, where the value of the name variable is concatenated with the string "Greetings, ".
In the process view of business, which of the following should be identified when defining the system?
A) Inter-connected processes across functional areas
B) The process-flow analysis approach to be used
C) Only the operations function
D) The vertical nature of the organizational design
Answer:
A. Inter-connected processes across functional areas
Explanation:
Option A is correct
What occurs when you call a method on a reference variable that contains null? Select one: a. An ArrayIndexOutOfBoundsException error b. An ArithmeticException error c. A NullPointerException error d. A ClassCastException error
Answer:
Option(c) i.e "A NullPointerException error " is the correct answer for the given question.
Explanation:
Exception are the run time error in the program.A NullPointerException is the runtime error when the pointer containing the NULL value .This type of exception occur when we call that function on the pointer variable which contains the NULL.
ArrayIndexOutOfBoundsException error occur when we accessing the element which is out of the index or bound so this option is incorrect.An ArithmeticException error occur in the arithmetic operation. Suppose a number is divided by zero then the ArithmeticException error is occured .ClassCastException error occur in the typecasting of a specific object.So this option is incorrect.Assume the existence of an interface, Account, with the following methods: deposit: accepts an integer parameter and returns an integer withdraw: accepts an integer parameter and return a boolean Define a class, BankAccount, that implements the above interface and has the following members: an instance variable named balance a constructor that accepts an integer that is used to initialize the instance variable an implementation of the deposit method that adds its parameter to the balance variable. The new balance is returned as the value of the method. an implementation of the withdraw method that checks whether its parameter is less than or equal to the balance and if so, decreases the balance by the value of the parameter and returns true; otherwise, it leaves the balance unchanged and returns false.
Answer:
The code to this question can be given as:
Code:
public class BankAccount implements Account //define class that inherit interface Account.
{
private int balance; //define integer variable.
public BankAccount(int x) //define parameterized constructor.
{
balance = x;
}
public int deposit(int x) //define function deposit.
{
balance =balance+ x;
return balance;
}
public boolean withdraw(int x) //define function withdraw.
{
//conditional statements
if (x <= balance) //if block
{
balance = balance - x; //calculate value.
return true; //return value.
}
else //else block
{
return false; //return value
}
}
}
Explanation:
The description of the above code can be given as:
In this code we define a class that is "BankAccount" this class inherits the interface that is "Account". for inheriting the class to the interface we use implements keyword to inherit class to interface. In this class we also define an integer variable that is balance. Then we define a parameterized constructor. In this constructor, we pass an integer variable that is "x" as a parameter. In this constructor, we use the balance variable to hold the constructor parameter value.Then we define a function that is a deposit() and withdraw(). In both functions, we pass an integer variable that is "x". In the deposit() function we use a balance variable for calculating value and return its value.and in the withdraw() function we use conditional statement. In this, we check if function parameter value that is x is less then equal to balance so we calculate the balance and return true. else we return false.You are designing a wireless network for a client. Your client needs the network to support a data rate of at least 54Mbps. In addition, the client already has a wireless telephone system installed that operates 2.4GHz. Which 802.11 stand will work best in this situation?
Answer:
The best choice is 802.11a.
Explanation:
The most common option, that is widely used in home internet is 802.11b, however, this only supports a max speed of 11Mbps.
802.11a supports up to 54Mbps and it has regulated frequencies that prevent interference from other devices, such as the wireless system that your client already has. This option is more expensive, and its signal has issues going through walls and rooms but still, it is the one that fits him the most.
Which of the following tools enables users to connect to a remote computer, including servers with no interaction required from the remote computer, so that they can interact with the Windows desktop and applications?
a. Remote Desktop
b. Remote Assistance
c. Computer Management console
d. Computer Assistant
Answer:
Remote Desktop
Explanation:
This is a software, that enable you to connect with a remote computer with all access. e.g. Team Viewer
How does voting help in a social news site? A. By improving the website's ranking, thereby increasing traffic to it B. By increasing the site's visibility on search engines C. By gathering financial support from political parties D. By making the site accessible on various browsers
Answer:
by improving the website's ranking, thereby increasing traffic to it.
Explanation:
As the ranking of the website is increases, it will be visible to more number of users. As the number of users increases on website, they will help in voting.
A ________ is a person or organization that seeks to obtain or alter data or other IS assets illegally, without the owners' permission.
Answer: Threat
Explanation:
Threat is one of the type of possible danger occur in the computer system security and also also exploit the security system that cause various types of possible harms.
Threat is alter any type of data in an organization without the permission of the owner.
The threat can be classified into the different types are as follows:
Computer worm DOS attack Rootkit Computer viruses
A variable declared to be of one class can later reference an extended class of that class. This variable is known as_________.
a. public
b. derivable
c. cloneable
d. polymorphic
e. none of the above, a variable declared to be of one class can never reference any other type of class, even an extended class
Answer:
Option (D) i.e., polymorphic is the correct answer to the following.
Explanation:
Because polymorphism is the concept of the Object-Oriented Programming in which an object or method having same in name.
Polymorphism is one of the essential features of the OOPs in which the method having the same name but different in their argument or the parameter list, in other words, the items having the same names but different in their working.
The variables declared.
A variable is a symbol and a placeholder for a quantity that may be changed. It may also include a number of vectors and a matrix and a function. They also refer to the set of elements of a function. They can be declared in one class and can be later used for reference to an extended class of the class.
Thus answer is the polymorphic variable. Can be declared in one class and never in another type of class.
The polymorphic includes one or more variants of the specific DNA sequence. the variables Polymorphisms can be sued to explain the strength and with variables and these are much larger in size.
Find out more information about the variable declared.
brainly.com/question/25784459
A small business named Widgets, Inc. has hired you to evaluate their wireless network security practices. As you analyze their facility, you note the following using a wireless network locator device:
a) They use an 802.11n wireless
b) The wireless network is broadcasting an SSID of Linksys.
c) The wireless network uses WPA2 with AES security.
d) Directional access points are positioned around the periphery of the building.
Based on this information what should you recommend your client do to increase their wireless network security?
Answer:
disable SSID broadcast and change the network name
Explanation:
Based on my experience with information technology and wireless networks my recommendation would be to disable SSID broadcast and change the network name. Disabling SSID will prevent the network name from appearing on devices that are searching for a network to connect to, and by changing the name it will also prevent anyone who knows the previous name from connecting unless they know the new name. Both of which will drastically increase security.
Final answer:
To enhance Widgets, Inc.'s wireless network security, it is recommended to change the SSID, disable SSID broadcast, and implement MAC Address Filtering.
Explanation:
To increase the wireless network security for Widgets, Inc., I would recommend the following steps:
Change the SSID: Broadcasting the manufacturer's default SSID makes it easier for attackers to identify the network. Changing it to a unique name enhances security.Disable SSID Broadcast: Disabling SSID broadcasting adds an extra layer of security as the network won't be openly visible to unauthorized users.Implement MAC Address Filtering: By configuring the wireless access point to only allow specific MAC addresses, you restrict unauthorized devices from connecting to the network.A drainage network Choose one: A. is considered a trellis network when rivers flow over uniform substrate with a gentle slope. B. drains water directly into the ocean. C. is an interconnected group of streams that collects water over a large area. D. is a trunk stream that cuts across a resistant ridge.
Final answer:
A trellis drainage network forms in folded topography where main channels and tributary streams resemble a garden trellis, typically seen in regions like the Appalachian Mountains. It is distinct from other patterns, such as dendritic or radial, which are influenced by different geographical and geological factors.
Explanation:
A drainage network is considered a trellis network, which is answer A, when rivers flow over a folded topography, such as that found in the Appalachian Mountains. In a trellis drainage pattern, the main streams and tributaries resemble a garden trellis, where down-turned folds known as synclines create valleys that host the main channel. Tributary streams enter these channels at sharp angles, following the ridges known as anticlines. This contrast to dendritic patterns, radial patterns, and other types of drainage networks that form in different conditions, such as over homogeneous material or around central elevated points like volcanoes. Comparing a trellis drainage pattern to other drainage patterns provides insight into the local topography and subsurface geology that dictate the drainage network. Over time, streams within these networks develop gradients, where the inclination reduces from the headwaters to the mouth. Geologic events, such as folding and faulting, can greatly influence the development of these patterns, as can the type of rock present in the region.
Check Point Management (CPM) is the main management process that provides the architecture for a consolidated management console. CPM allows the GUI client and management server to communicate via web service using ______.
a. TCP port 19009
b. TCP Port 18190
c. TCP Port 18191
d. TCP Port 18209
CPM allows the GUI client and management server to communicate via web service using TCP port 19009.
a. TCP port 19009
Explanation:
Check point management is main security management process of future technology. It works as smart console which covers
1. Security Policy Management
2. Log Analysis
3. System Health Monitoring
4. Multi Domain Management
All communications are made through tcpip address and port. It always as web service where port start with 1900.
Some blades use components of the former Smart Dashboard views. To communicate with management server they always use CPM API use the port 18190. Database sessions, Database revisions, Database domains.
Assume you have the following array: int[] values = new int[15]; What will happen if the following code is executed? int[15] = 20;
a. The value will be added to the array.
b. You will get an ArrayIndexOutOfBoundsException
c. Nothing will happen
d. The array will grow in size by one and the value will be added to the array.
Answer:
You are creating an array "values" which stores 15 integers. And if we will write int[15]=20, we are not following correct syntax. Hence, nothing will happen, and it might however, throw an error that the syntax is wrong.
Explanation:
int[15]=20 is a wrong syntax, and hence nothing will happen or computer might throw an error like that not correct syntax is being used. And if we write values[15]=20, It will certainly throw ArrayIndexOutOfBoundsException as the maximum length is fixed to 15 and values[14] and not more than that.
Which of the following statements about C++ arrays is true?A.Array components cannot be of floating-point types.B.The index type of a one-dimensional array can be any data type.C.An array component can be treated as a simple variable of its component type.D.a and b aboveE.a, b, and c above
Answer:
The answer is letter C. True
Explanation:
The true statement is an array component can be treated as a simple variable of its component type.
All formulas that begin with =IF will
A. change the formatting of a cell in a specific way if certain conditions are met.
B. return a specific value, calculation, or message if certain conditions are met.
C. always copy the contents of the adjecent cells if they contain data.
D. remove contents from a cell if they will likely cause an error during calculations.
Answer:
return a specific value, calculation or message if certain condition met
Explanation:
"if" is used for conditional statements that means, do some work if the condition is met against that logic.
e.g.
If (a > 5)
{
Show "a is greater than 5"
}
so if we put a= 6 than condition met and given statement will be shown on out put as "a is greater than 5".
The development of the original personal computer (PC) was a(n) __________ innovation at the time, whereas adding a different kind of whitening agent to a soap detergent is an example of a(n) __________ innovation.
Answer:
The correct answer to the following question is radical, incremental.
Explanation:
Personal Computer is the system which helps us in official work, in study, in business and organization, in schools and hospitals, etc.
It is one of the good human creations which helps us in every field and every sector, it also used in entertainment. It saves our precious time in which we do other important works.
ASAP PLZ!!! Select the correct answer.
The sales team of an organization prepared a report using mined data. They had an issue of presenting a large amount of data on a small screen. Which data mining issue did the sales team face?
A.
security issue
B.
user interface
C.
web mining
D.
multiple sources
Final answer:
The correct answer to the data mining issue the sales team faced is 'B. user interface,' which concerns the efficient presentation of large data sets on small screens.
Explanation:
The correct answer to the student's question about the issue faced by the sales team when trying to present a large amount of data on a small screen is B. user interface. This problem is not related to security issues, web mining, or the handling of multiple sources of data, which are common concerns in data mining. Instead, the user interface is critical in determining how effectively the mined data can be displayed, especially when screen size is limited. Presenting complex data on small screens requires a user interface that is clean, efficient, and capable of highlighting the most important information without overwhelming the viewer.
A user has been complaining that their wireless connection has been connecting and disconnecting too frequently. What command could you use to generate a detailed HTML-based report for analysis of the wireless connection on their computer in the past?a. netcfg -db. netstat -pc. netsh wlan show wlanreportd. netsh int ip reporte. netcfg wlan show report
Answer:
The correct option to the following question is netsh wlan show wlanreportd.
Explanation:
The following option is correct because This command is used to generate the report of the wireless network and save it as in the HTML file, which is open in your default browser.
Other options are incorrect because these are not that commands which helps to generate reports and these commands are used in other purposes
Answer:
The correct option to the following question is option C.
Explanation:
The netsh wlan show wlanreport command is used to produce a wireless network report that is used to save in an HTML file. This file can be open in your web browser. This file is also used to show several commands that are connected to the network on the Command line and shows the list of networks adapter on your computer. and other options are not correct that can be described as:
In option, a netcfg -d stands for network configuration data. It is used for configuring the user-defined profiles. In option, b netstat -p stands for network statistics. It is used in the command-line for network troubleshooting and performance measurement. In option, d netsh int ip report stands for the network shell this command is used to display and modify the network. In option, e netcfg wlan show report stands for the WLAN reports this command is part of the command line and it is also used to store a network file.That's why the option "C" is correct.
What is the main advantage to using Java?
This task contains the radio buttons and checkboxes for options. The shortcut keys to perform this task are A to H and alt+1 to alt+9.
A. It does not require a compiler.
B. It is platform agnostic.
C. It uses a 'write once, run anywhere' philosophy and does not need to be tested across multiple systems.
D. It is optimized for use primarily on the Windows operating system.
Answer:
The correct answer to the following question is an option (B) It is platform agnostic.
The attribute is controls="controls".
Explanation:
JAVA is the programming language which reliable, fast and secure.
Java is the platform-agnostic, which means the java programming language is the platform-independent, but the JVM(java virtual machine) is not the platform-independent it means it is platform-dependent and every operating system has its own Java Virtual Machine.
Java programs can be runs on the different Operating System. It was designed by the Sun Microsystems and later, it was occupied by the Oracle which is easy to learn and write programs in it.