Answer:
The program in Java is:
import java.util.Scanner;
public class MyClass {
public static void main(String args[]) {
Scanner input = new Scanner(System.in);
int n;
n = input.nextInt();
int [] mylist = new int[n+1];
mylist[0] = n;
System.out.print("List elements: ");
for(int i = 1;i<n+1;i++){
mylist[i] = input.nextInt();
}
int min,max;
System.out.print("Min & Max: ");
min = input.nextInt();
max = input.nextInt();
for(int i=1; i < mylist.length; i++){
if(mylist[i]>=min && mylist[i]<=max){
System.out.print(mylist[i]+" ");
}
}
}
}
Explanation:
This line declares length of list
int n;
This line gets length of list
n = input.nextInt();
This line declares the list/array
int [] mylist = new int[n+1];
This line initializes the element at index 0 to the length of the list
mylist[0] = n;
This prompts user for elements of the list/array
System.out.print("List elements: ");
The following iteration gets list elements
for(int i = 1;i<n+1;i++){
mylist[i] = input.nextInt();
}
This declares the lower and upper bound (min, max)
int min,max;
This line prompts user for elements of the list/array
System.out.print("Min & Max: ");
This next two lines get the bound of the list/array
min = input.nextInt();
max = input.nextInt();
The following iteration prints the elements in the range
for(int i=1; i < mylist.length; i++){
if(mylist[i]>=min && mylist[i]<=max){
System.out.print(mylist[i]+" ");
}
}
The ______ clause allows us to select only those rows in the result relation of the ____ clause that satisfy a specified predicate.
Answer:
1. Where,
2. From
Explanation:
In SQL query language when working on a database, a user can use certain clauses to carry out some functions.
Hence, The WHERE clause allows us to select only those rows in the result relation of the FROM clause that satisfy a specified predicate.
This is because the "Where clause" selects the rows on a particular condition. While the "From clause" gives the relation which involves the operation.
4. What is the formula for calculating the file size?
True or false: In relational databases, each individual space within a row or column contains exactly one value.
Answer:
True.
Explanation:
A database management system (DBMS) can be defined as a collection of software applications that typically enables computer users to create, store, modify, retrieve and manage data or informations in a database. Generally, it allows computer users to efficiently retrieve and manage their data with an appropriate level of security.
A data dictionary can be defined as a centralized collection of information on a specific data such as attributes, names, fields and definitions that are being used in a computer database system.
In a data dictionary, data elements are combined into records, which are meaningful combinations of data elements that are included in data flows or retained in data stores. This ultimately implies that, a data dictionary found in a computer database system typically contains the records about all the data elements (objects) such as data relationships with other elements, ownership, type, size, primary keys etc. This records are stored and communicated to other data when required or needed.
Basically, when a database management system (DBMS) receives data update requests from application programs, it simply instructs the operating system installed on a server to provide the requested data or informations.
A relational database can be defined as a type of database that is structured in a manner that there exists a relationship between its elements.
Hence, in relational databases, each individual space within a row or column contains exactly one value.
Write pseudocode for washing a car using at least five steps.
Answer:
#include <iostream>
int main()
{
bool carWashed{ 0 };
bool washCar{ 0 };
while(carWashed == 0)
{
washCar();
}
if(washCar == 1)
{
carWashed{ 1 }
}
}
Explanation:
c++
4. What is the package name in which the Scanner class resides?
Define a function print_total_inches, with parameters num_feet and num_inches, that prints the total number of inches. Note: There are 12 inches in a
Answer:
Explanation:
The following code is written in Java. It is a function that takes in the number of feet and the number of inches that the object has. Then it transforms the number of feet into inches and adds the remaining inches to a variable called total_inches. Finally, it prints the total number of inches to the screen.
public static void print_total_inches (int num_feet, int num_inches) {
int feet_to_inches = num_feet * 12;
int total_inches = feet_to_inches + num_inches;
System.out.println(total_inches);
}
when you tried to login to server your trail may faild this failure event is recorded in
Which conditions make using an array a better choice than a list? Select 3 options.
1. when you will do a great deal of arithmetic calculations
2. when you have a very large quantities of numeric data values
3. when all your data are string
4. when your list would contain a mixture of numbers and string values
5. when efficiency is of great importance
Answer:
When efficiency is of great importance
When you will do a great deal of arithmetic calculations
When you have a very large quantities of numeric data values
Explanation:
Did it one edge
1. when you will do a lot of arithmetic calculations
2. when you have very large quantities of numeric data values
5. when efficiency is of great importance
Thus, options A, B, and E are correct.
What is an array?A data structure called an array consists of a compendium of values, each of which is identifiable by a memory location or key. In different languages, additional data structures that capture an aggregate of things, like lists as well as strings, may overlay array types.
Just using an array is a preferable option when you'll be performing a lot of math operations, when you're dealing with a lot of numerical data values, and when performance is crucial. A grouping of comparable types of data is called an array.
Therefore, option A, D, and E is the correct option.
Learn more about array, here:
https://brainly.com/question/13107940
#SPJ2
Which statement is true for rapid prototyping? (A. It creates a two-dimensional model of a part or a product, from the original model of the product.) (B. It is also known as 2D printing.) (C. It helps to avoid costly mistakes by allowing corrections early in the production process.) (D. It is also referred to as layered modeling.)
Answer:
C: It helps to avoid costly mistakes by allowing corrections early in the production process.
Explanation:
Remember, a prototype refers to an early sample or model of a product that is designed to test and figure out a concept or process.
The Rapid prototyping process has many advantages, besides being faster with the use of 3D dimensional technology, it allows for easy corrections of design/modeling errors early in the production process.
Answer:
C.
Explanation:
Plato
Test if a password entered is correct. The secret phrase is Ada Lovelace.
Sample Run 1
Enter the Password: Ada Lovelace
Sample Output 1
Correct!
Sample Run 2
Enter the Password: Blaise Pascal
Sample Output 2
Not Correct
for Python
password = "Ada Lovelace"
if input("Enter the Password: ") == password:
print("Correct!")
else:
print("Not Correct")
I wrote my code in python 3.8. I hope this helps.
Using social media, such as text messages and status updates, has helped
users become more
o
A. wordy
O B. succinct
O C. formal
O D. slow
Answer:
succinct
Explanation:
it means to be brief or short, as most people who text or use social media like twitter have a limited character limit and want to make the most of it.
According to the video, what types of education are useful for Database Administrators? Check all that apply.
high school degrees
college degrees
certification
communication workshops
Done
Intro
Answer:
b.college degrees
c.certification
Explanation:
The type of education useful for Database Administrators are college degrees and certifications. The correct options are b and c.
What are Database Administrators?A database management system typically supports the platforms' administration, development, and use. A Relation Database Management System (RDBMS) is a category of Database Management System (DBMS) that includes a structure (row-based table) that connects data pieces as well as operations that are intended to ensure the data's accuracy, security, consistency, and integrity.
They are capable of doing this since they are familiar with database administration tools and technologies. Currently, one of the most sought-after jobs in America is database administration.
Hospitals, banks, and insurance corporations are a few examples. To put it another way, database administrators are in charge of creating, maintaining, and protecting your databases.
Therefore, the correct option is b. college degrees, and c. certification.
To learn more about Database Administrators, refer to the link:
https://brainly.com/question/13261952
#SPJ6
Which of the following statements is true when it comes to developing a web presence for a business?
Explanation:
Customers can learn about a business by downloading a mobile app, but they can’t place an order using an app
Building a new website requires a large budget
Type the correct answer in the box. Spell all words correctly.
Bill uses a software application that helps him make digital representations of buildings from design and construction through operation and
even demolition. Which software application does Bill use?
Bill is working on an architectural project and he uses_______
applications, such as ArchiCAD, to create digital replicas of buildings.
Answer:
ArchiCAD or AutoCAD
Explanation:
Bill is working on an architectural project and he uses a program such as ArchiCAD or AutoCAD. Each of these software applications are built from the ground up specifically for architects. It allows experienced Architects to design and create digital representations of different buildings, houses, apartments, or any other design that they may have in mind. This includes specific details, materials, specifications, demolition representations, etc.
Give an example of an occasion when you used logic to solve a problem
The programming interface for a legacy motor controller accepts commands as binary strings of variable lengths.
a. True
b. False
Answer:
The answer is "Option a"
Explanation:
The given question is incomplete, that's why its correct solution can be defined as follows:
The above-given question is the part of the Binary Autocomplete, in which this Autocomplete function would be a full word or sentence after just a few other letters were entered into the system. It approach improves text taking appropriate on smartphone devices of particular because every letter should not be written in such a single phrase.
how does social media help?
i will give you the brainliest
Answer:
Social Media plays a crucial role in connecting people and developing relationships,
Social media is an essential piece of your business marketing strategy
Social media gives you an opportunity to talk about what you know and what you want to be known for.
Social media can be a useful tool for businesses, bringing advantages such as engaging with your audience
What is the BCC feature used for?
to format email message text in a custom font
to format email message text in a blind font
to send a courtesy copy of an email to someone who does not need to take action
to send an email to someone without revealing that person’s email address to others on the distribution list
Answer:
to send an email to someone without revealing that person’s email address to others on the distribution list
Explanation:
BAM
To send an email to someone without revealing that person’s email address to others on the distribution list.
What is BCC?
"Blind carbon copy" is referred to as BCC. BCC is a similar method to CC for forwarding copies of an email to additional recipients. When CC is used, a list of recipients is shown; when BCC is used, a list of recipients is not visible.
Because the other receivers won't be able to see that the email has been forwarded to another person, it is known as a blind carbon copy.
Carbon copy is referred to as a "CC" in email communication. When there was no internet or email, you had to sandwich a piece of carbon paper between the paper you were writing on and the paper you wanted to use as your copy in order to make a copy of the letter you were writing.
Therefore, To send an email to someone without revealing that person’s email address to others on the distribution list.
To learn more about BCC, refer to the link:
https://brainly.com/question/29398332
#SPJ6
When looking at security standard and compliance, which three (3) are characteristics of best practices, baselines and frameworks
Answer:
In order to observe best practices, and to meet with technical and other requirements, organizations often use frameworks for cybersecurity compliance and regulatory compliance. These frameworks provide best practices and guidelines to assist in improving security, optimizing business processes, meeting regulatory requirements, and performing other tasks necessary to achieve specific business objectives such as breaking into a particular market niche or selling to government agencies.
Many such frameworks exist, and the recommendations set out in them can impose difficult and often expensive demands on enterprise resources – especially in situations where an organization is subject to a number of regulatory compliance regimes, whose requirements it has to meet while maintaining its own strong cybersecurity status.
Explanation:
You already know about lists. What missing function will return the index of 7 in the list? >>> myList = [12, 5, 7, 3, 25] >>> myList. (7)
Answer:
The index function
Explanation:
Required
What function is needed to complete the program
To return the index of an item in a list, we make use of the index function.
In this case, the complete program will be:
myList = [12, 5, 7, 3, 25]
print(myList.index(7))
At the end of program compilation and execution, the index of 7 (which is 2) will be returned/printed.
Answer:
index
Explanation:
Adam is writing a program that: 1) has the user guess a number, and 2) tells the user how many guesses it took to get the correct answer. But when Adam tests the program, it always outputs that it took the user one guess, even when it takes many guesses. What error did Adam most likely make, and how should it be fixed? The difference between a for loop and a while loop is that a for loop is a loop that happens for a certain number of times. A while loop happens until a certain condition is met. How do you know when to use each one? Give specific examples in your answer. What are some programs that you have used that have condition-controlled loops and count-controlled loops? Why is it important that if, elif, and else statements appear in the proper order? What are some situations where you might find it useful to use the “!” symbol in a program?
Answer:
There are two ways in which programs ... count-controlled loops; condition-controlled loops ... Sometimes it is necessary for steps to iterate a specific number of times. ... A count-controlled loop is used when the number of iterations to occur is ... the variable 'count' is used to keep track of how many times the algorithm
Explanation:
Answer:
Adam most likely forgot to add a while loop to the guessing code or didn’t add it properly, meaning that instead of letting him guess multiple times it just continues the code, all he needs to do is add a while loop to fix the line of code.
Explanation:
hope this helps
The index value of the first element in a JavaScript array is a. undefined b. one c. zero d. null
Answer:
The index value of the first element in a JavaScript array is zero
Explanation:
Required
Index of first JavaScript array element
Just like numerous programming languages, when an array is declared in JavaScript, the index of the array starts at 0.
Meaning that the first element of the JavaScript array is indexed 0
Say for instance, the array has 5 elements:
This is declared as:
var arrayname = Array(5);
The first of the 5 elements of the array starts at 0 while the last of the 5 elements would be at index 4.
What would be the result of the following calculation in a spreadsheet?
=5+10/5-3*3-1
a. -1
b. -3
c. 1
d. 3
e. 0
answer: B. -3
Answer:
answer a -1
b-3 hi hello who are you
Describe the major issues surrounding the decisions to build and/or host your own e-commerce Web site or to outsource some aspects of site development. Include the advantages and disadvantages of each decision.
Answer:
Explanation:
The main issue with this is the time and cost of buildling and maintaining your server. You will need to know how to build a server to host your own e-commerce site but will also need to learn how to manipulate data. This includes being able to save and pull data from the server. Once you have this done then the rest is easy since that is the biggest disadvantage of hosting your own site. The biggest advantage is that you have full control over your data and do not have to pay monthly fees and hidden fees to any hosting site.
The major issue surrounding the decisions to build or hosting of your own e-commerce is that one will need a multiskilled staff.
It should be noted that when an individual wants to build an e-commerce site, they'll need a multiskilled staff like graphic artists, programmers, project managers, and web designers.
The person will also purchase the appropriate hardware and software. There are also several risks that come with building a site from scratch. The cost involved is also high as the requirements to build the site are complex.
Read related link on:
https://brainly.com/question/17429269
. Else-if is good selection statement that help us to solve problems in C++,mostly times same problem of same nature can also be solved via switch statement. Which one you prefer to use and why?
Answer:
Else-If statements
Explanation:
Personally, I prefer using Else-If statements for conditional statements since you can start with and If statement and add to it if necessary. Aside from this, Else-If statements also allow you to add more than one condition to be met by using tags such as and or and not. Switch statements are better in scenarios where you have a set of possible inputs or results and need a specific event to happen for each input/result, but this is not as common of a scenario so Else-If is usually my go-to conditional statement.
What are the two basic literary forms?
NEED HELP WILL MARK BRAINLIEST AND 25 POINTS FOR ANSWER Which section available in the Design view for the form actually includes the record data itself?
header
footer
detail
Overview
Answer:
the answer is detail
Explanation:
please it's detail
The Design view for the form actually includes the record data itself will be known as Overview.
What is a detail?If the file is completed, then all the record that was done during completing the file will be mentioned in the section known as detail.
The Design view for the form actually includes the record data itself will be known as detail.
Then the correct option is D.
More about the detail link is given below.
https://brainly.com/question/9208069
#SPJ2
Using the Internet, search and discuss why naming conventions are important and why programmers should consistently follow them. What problems can arise in naming variables if one convention is not followed.
Answer:
Answered below
Explanation:
Some variable naming conventions include;
1) Variable should begin with either a letter or an underscore.
2) Variables having multiple words should have the first letter of every word after the first word, capitalized. This is the camelCase style.
3) variables should not be named after any of the inbuilt keywords except on special operations to override the original function of such keyword.
4) variable names are case-sensitive.
The importance of following these conventions is to maintain readability and consistency of code. Failure to follow these conventions may lead to chaotic codes, bugs and inefficient performance.
A production house needs an operating system that captures, saves, and generates information within specific time. Which type of operating system should the production house choose?
Answer:
A real-time operating system
Explanation:
An operating system is a system software pre-installed on a computing device to manage or control software application, computer hardware and user processes.
This ultimately implies that, an operating system acts as an interface or intermediary between the computer end user and the hardware portion of the computer system (computer hardware) in the processing and execution of instructions. Some examples of an operating system on computers are QNX, Linux, OpenVMS, MacOS, Microsoft windows, IBM, Solaris, VM etc.
There are different types of operating systems (OS) based on their functions and these includes;
I. Simple Batch System.
II. Multiprocessor System.
III. Desktop System.
IV. Multiprogramming Batch System.
V. Distributed Operating System.
VI. Network System.
VII. Realtime Operating System.
In this scenario, a production house needs an operating system that captures, saves, and generates information within specific time. Therefore, the type of operating system that the production house should choose is a real-time operating system.
A real-time operating system can be defined as an operating system (OS) that provides services to a system as they are required, without any form of delay or buffering of data.
NEED HELP WILL MARK BRAINLIEST AND 25 POINTS FOR ANSWER Xavier is using a query that includes a LIKE comparison operator with the value of A[a-n)" Which option would
match this operator?
Apple
Aaron
Assist
Azure
Answer:
This will match the name Aaron
Explanation:
Using square brackets around a range indicates that a single character within the range of the brackets can be match.
In something like the given example
WHERE name LIKE "A[a-n]"
It will match all names that start with a capital A, which is immediately followed by a lowercase a through n.