Answer:
A class is called an Abstract class if it contains one or more abstract methods. An abstract method is a method that is declared, but contains no implementation. Abstract classes may not be instantiated, and its abstract methods must be implemented by its subclasses.
Explanation:
So it only makes sense to use them if you plan to have preferably more than one subclass.
write passage on computer virus
Answer:
A computer virus is a relatively small program that attaches itself to data and program files before it delivers its malicious act. There are many distinct types of viruses and each one has a unique characteristic. Viruses are broken up into to main classes, file infectors and system or boot-record infectors.
hope it helpsWrite an LC-3 assembly language program to read in a two-digit decimal number whose digits add up to less than 10 and display the sum of those digits in the next line.
Sample execution (user input underlined) : Please enter a two-digit decimal number > 27. The sum of the digits = 9
Answer:
Explanation:
.MODEL SMALL
.STACK 100H
.DATA
STR1 DB 0AH,0DH, 'THE SUM OF TWO DIGITS PRENT IN THE GIVEN NUMBER'
FNUM DB ?
STR2 DB ' AND '
SNUM DB ?
STR3 DB ' IS '
ANS DB ?
STR4 DB ' $'
.CODE
MAIN PROC
MOV AX, "at" DATA PLEASE NOTE: your "at" need to be in symbol
MOV DS,AX It is because this text editor who allow the sub-
mission of this answer if i use the symbol format
MOV AH,2 that is why put it in bold and parenthesis
MOV DL,3FH
INT 21H
MOV AH,1
INT 21H
MOV BL,AL
MOV FNUM,AL
INT 21H
MOV SNUM,AL
ADD BL,AL
SUB BL,30H
MOV ANS,BL
MOV AH,9
LEA DX,STR1
INT 21H
MOV AH,4CH
INT 21H
MAIN ENDP
END MAIN
Files can be stored on hard drives, network drives, or external drives, but not in the cloud.
True
False
Folders provide a method for organizing files.
True
False
Answer: (1) False, (2) True
Explanation:
Write a loop to print all elements in hourly_temperature. Separate elements with a -> surrounded by spaces. Sample output for the given program: (must be in python)
90 -> 92 -> 94 -> 95
Note: There is a space after 95.
------------------------------------------------------------------------------------------------------------------------
hourly_temperature = [90, 92, 94, 95]
for temp in hourly_temperature:
for index,temp in enumerate(str(temp)):
if index != len(temp)-1:
print(temp,'->',end=' ')
else:
print(temp, end='')
print('') # print newline
------------------------------------------------------------------------------------------------------------------------
My expected out is:
90 -> 92 -> 94 -> 95
I keep getting:
90 -> 92 -> 94 -> 95 ->
NOTE: I can't edit the last line "print('') #print newline"
Answer:
Following are the code to this question:
hourly_temperature = [90, 92, 94, 95]#defining a list that holds values
c= 0#defining a variable c
for temp in hourly_temperature:#defining a for loop to count list values
c+= 1#defining c variable to increment the value of c
for index,temp1 in enumerate(str(temp)):#defining for loop for spacing the list value
if index == len(str(temp))-1 and c!= len(hourly_temperature):#defining if block that checks the length of list
print(temp1,'->',end=' ')#print value
elif c == len(hourly_temperature) and index == len(str(temp)) - 1:#defining elif block that checks the length of list
print(temp1, end=' ')#print value
else:#defining else block
print(temp1, end='')#print value
Output:
90 -> 92 -> 94 -> 95
Explanation:
In the above-given code, a list "hourly_temperature" is declared, in which an integer variable c is declared, that holds an integer value that is equal to 0, and two for loop is declared, and in the first loop is used for count list value, and inside the for loop is uses enumerate method to assigns an index for each item and use the conditional statement to check each list value and provide space in each element value.
To prevent long page load times for pages containing images, it is best to use a compressed file format such as JPG, as well as appropriate image dimensions and
resolution.
magnification.
orientation.
colors.
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The given options to this question are:
resolution. magnification. orientation. colors.The correct option to this question is 1. i.e.
Resolution.
The resolution of an image determines how many pixels per inch an image contains. Image having a higher resolution takes long page load times for a page and lower resolution takes less page load time. So, to prevent long page load times for pages containing images, it is best to use compressed file formation as well as appropriate image dimension and resolution.
While other options are not correct because:
Magnification, orientation, and color does not affect the page load time. Page load time for images only affected by the dimension and resolution of the images.
g 'write a function that takes as input a list and outs a new list containing all elements from the input
Answer:
def mylist(*args):
return args
new_list = mylist(2,3,4,5)
Explanation:
The simple python code above defines a function called mylist that receives multiple length of element as a list and returns the list a new list. The "*args" allows the function to receive any number of item and converts them to a list that is returned in the next statement.
The can also be achieved by simply assigning a squared bracket enclosed list to the variable or with the list() constructor.
Drag the tiles to the correct boxes to complete the palrs.
Match the types of letters with their descriptions.
letter of interest
cover letter
thank you letter
letter of recommendation
discusses how you meet job requirements
>
reiterates why you're the best candidate for the job
>
tells more about your character and who you are
expresses your interest in working for a company
Answer:
Letter of interest> tells you more about your character and who you are expresses your interest in working for a company
Letter of recommendation> reiterates why you're the best candidate for the job
Cover letter> discusses how you meet job requirements
Hope this helped!
Answer:
Discusses how you meet job requirements = Cover Letter
Expresses your interest in working for a company = Letter of Interest
Tells more about your character and who you are = Letter of Recommendation
Reiterates why you're the best candidate for the job = Thank You Letter
Hi, Everybody i have a question it is almost my B-day i want this lego set
(Nintendo Entertainment System™) BUT THEY ARE SOLD OUT
I NEED HALP
Answer:
You can look at different websites of look on an app for people selling it, or something :p
Explanation:
Which will you see on the next line 9, 2, 3.5, 7]
Answer:
plenipotentiaries. It was by far the most splendid and
important assembly ever convoked to discuss and
determine the affairs of Europe. The Emperor of
Russia, the King of Prussia, the Kings of Bavaria,
Denmark, and Wurttemberg, all were present in
person at the court of the Emperor Francis I in the
Austrian capital. When Lymie put down his fork and
began to count them off, one by one, on the fingers
of his left hand, the waitress, whose name was Irma,
thought he was through eating and tried to take his
plate away. He stopped her. Prince Metternich (his
right thumb) presided over the Congress, and
Prince Talleyrand (the index finger) represented
France? please let me know if this is the answer you were looking for!!
Answer:
I guess 6.......maybe or 1 kinda.....
I am dumb for this question
For things like school, you should have a more serious:
Answer:
who and what do you mean
Explanation:
A switch is a device that connects multiple computers into a network in which multiple communications links can be in operation simultaneously. True False
Answer:
True
Explanation:
A network switch is also called switching hub or a bridging hub. It is a device that connects multiple computers into a network in which multiple communications links can be in operation simultaneously. It makes use of Mac addresses in the forwarding of the data link layer (layer 2) of the OSI model. Types include managed switches, unmanaged switches, smart switches but to mention a few.
Do you think GE will become one of the top 10 U.S. software companies? Why or why not?
Answer: I do belive GE will be one of the top 10 software companies because each year the software side of GE is growing 20 perecnt per year which is a big deal!
Explanation:
There are different kinds of firms. I think GE will become one of the top 10 U.S. software companies. The world is gradually turning to the production of electric cars and much more appliances and with this, I believe they would grow to the top 10 in no time.
General Electric Company (GE) is known to be one of the top American multinational conglomerate that is seen in New York State.It has its headquartered in Boston and thy have been ranked 33rd in the 2020 ranking, among the Fortune 500 in the United States using their gross revenue.
Learn more about General Electric Company from
https://brainly.com/question/26379157
Write a test program that prompts the user to enter a two dimensional array and displays the location of the smallest element in the array.
Answer:
def element_loc():
is_end = 'n'
dimen2 = []
while is_end == 'n':
par1 = input("Enter rows and columns: ").split(",")
part = [int(i) for i in par1]
dimen2. append(part)
is_end = input("Do you want to add more rows? y/n: ")
mini = list()
for i in dimen2:
mini. append(min(i))
result = min(mini)
row_index = mini. index(result)
col_index = dimen2[row_index]. index(result)
print("Row: ", row_index, "Col_index: ", col_index)
element_loc()
Explanation:
The python program solution above prompts users for the two-dimensional array and then the rows of the array are compared with the minimum value stored in another list or array. The row index and the column index are gotten from the mini and dimen2 arrays respectively and are displayed as the position of the minimum value in the two-dimensional array.
turns on her laptop and gets the error message "OS NOT FOUND." She checks the hard disk for damage or loose cable, but that is not the case. What could be a possible cause?
You are configuring a firewall to use NAT. In the configuration, you map a private IP address directly to a persistent public IP address. What form of NAT is being used?
A. Registered NAT.B. Static NAT.C. Dynamic NAT.D. Advanced NAT.
Answer:
Option B (Static NAT) would be the correct choice.
Explanation:
Static NAT seems to be a method of NAT methodology used to navigate as well as monitor internet usage from some kind of specific public IP address to something like a private IP address. Everything always allows the provision of web access to technology, repositories including network equipment inside a protected LAN with an unauthorized IP address.Some other decisions made aren't relevant to the situation in question. So the above alternative is indeed the right one.
Define a toString prototype method that returns the cat's name, gender, and age separated by semicolons.
Answer:
Following are the program to this question:
import java.util.*;//import package for user input
public class Main//defining main class
{
public static String Cat (String name, String gender, int age)//defining string method Cat that accept parameter value
{
return name + ';' + gender + ';' + age;//return parameter value
}
public static void main(String[] args) //defining main method
{
String name,gender;//defining String variable
int age;//defining integer variable
System.out.println("Enter name, gender and age: ");//print message
Scanner obx=new Scanner(System.in);//creating Scanner class object for user input
name=obx.next();//input name value
gender=obx.next();//input gender value
age=obx.nextInt();// input age value
System.out.println(Cat(name,gender,age));//print return method value
}
}
Output:
Enter name, gender and age:
dani
Female
12
dani;Female;12
Explanation:
In the above-given code, a string method Cat is declared, that accepts three variable "name, gender, and age", inside the method return keyword is used that returns the parameter values.
In the main method, the above parameter variable is declared, which is used to input value from the user-end, and used the print method to print its return value.
C++ Write a program that initially asks a user to enter two positive integer numbers a and b. If either a or are zero or negative, the program terminates right away. Then, generate an array of 20 integer numbers, each randomly generated between a and b. If b happens to be greater than a, then the array must contain elements randomly generated between b and a. Display the whole array on the screen. After creating and displaying the array, the program shows:
[A]verage [S]um [F]ind Please choose an option: Then, if the user selects:
- A (lowercase or uppercase): the program computes and displays the average of all elements of the array
-A (lowercase or uppercase): the program computes and displays the average of all elements of the array
-F (lowercase or uppercase): the program asks the user to insert an integer number to be found in the array
If present, the program displays "Found in position number followed by the position of the first occurrence.
If not present, the program displays "Number not found in the array"
Answer:
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int a, b, c[20], search, maxi, mini, totalSum = 0;
char option;
int * p;
cout<< "Enter value for a: ";
cin>> a;
cout<< "Enter value for b: ";
cin>> b;
if (a == 0 || b == 0){
cout<< "Both values must be greater than zero.";
} else if(a>b){
maxi = a;
mini = b;
}
else{
maxi = b;
mini = a;
}
for (int i =0; i < 20; i++){
c[i] = (rand() % maxi) + mini;
totalSum += c[i];
}
cout << "Please choose an option: 1 , 2, 3 ";
cin>> option;
option = tolower(option);
switch(option){
case 1:
cout << "The Average of the array items is: "<< totalSum/20;
break;
case 2:
cout<< "The sum of the array items is: "<< totalSum;
break;
case 3:
cout<< "Enter number to be searched: ";
cin>> search;
p = find (c, c+20, search);
if (p != c+20)
{
cout << "Element found in c array: " << *p << '\n';
}else{
cout << "Element not found in c array\n";
}
break;
}
}
Explanation:
The C++ source code prompts the user for the a,b, option and search values and executes either of the options from the switch statement.
Answer:
#include <iostream>
#include <algorithm>
using namespace std;
int main(){
int a, b, c[20], search, maxi, mini, totalSum = 0;
char option;
int * p;
cout<< "Enter value for a: ";
cin>> a;
cout<< "Enter value for b: ";
cin>> b;
if (a == 0 || b == 0){
cout<< "Both values must be greater than zero.";
} else if(a>b){
maxi = a;
mini = b;
}
else{
maxi = b;
mini = a;
}
for (int i =0; i < 20; i++){
c[i] = (rand() % maxi) + mini;
totalSum += c[i];
}
cout << "Please choose an option: 1 , 2, 3 ";
cin>> option;
option = tolower(option);
switch(option){
case 1:
cout << "The Average of the array items is: "<< totalSum/20;
break;
case 2:
cout<< "The sum of the array items is: "<< totalSum;
break;
case 3:
cout<< "Enter number to be searched: ";
cin>> search;
p = find (c, c+20, search);
if (p != c+20)
{
cout << "Element found in c array: " << *p << '\n';
}else{
cout << "Element not found in c array\n";
}
break;
}
}
Explanation:
The C++ source code prompts the user for the a,b, option and search values and executes either of the options from the switch statement. Is correct
Explanation:
Great work person above me! :)
high level languages are closer to machine language than humans yes or no
Answer:
yes
Explanation:
because they were built from humans
Which type of error occurred in the following lines of code?
>>> print(9 / 0)
Traceback (most recent call last):
File " ", line 1, in
9/0
ZeroDivisionError: division by zero
Answer choices:
reserved word error
logical error
exception
syntax error
Answer: Logical Error
The division by 0 is a logical error.
Documenting findings, actions, and outcomes of network troubleshooting calls is an essential part of the troubleshooting process. List the reasons why documentation is critical, and discuss the form that this documentation could take (e.g. blogs, wikis, professional document management software, etc). Include a detailed description of what information would need to be saved.
Answer:
The main purpose of documentation is for future reference on the cost, materials, procedures, and techniques used in a task. It can be in form of a video log, report, digital text document or software, etc.
Explanation:
Documentation is an important practice of taking notes of events during a process. It could in the process of creating or discovering new ideas or repair or management of existing processes. It holds the time, cost, technique, event name, measures-taken, etc, that would totally describe the event.
what feature should be used before a document is printed
Print preview is a feature that displays on the screen what a hard copy would look like when printed. By using print preview, you can find any errors that may exist or fix the layout before printing, which can save ink or toner and paper by not having to print more than once.
Code used when creating a hyperlink to a specific part of the same page.
Answer:
Give The Object Or Text You'd Like To Link To A Name.
Take That Name That You've Chosen, And Then Now Insert It To An Opening HTML Anchor Link Tag.
Place That Complete Opening <a> Tag From Before The Text Or Object You Want To Link It To, Then Now Add A Closing </a> tag after.
(Hope this is correct and hope this helped. Sorry if I'm wrong and you get this wrong)
A backup can be installed that costs​ $100. What is the minimum allowable reliability for the backup that would make installing it​ worthwhile? The minimum allowable reliabilit​ = nothing​%
Answer:
0.95
Explanation:
Reliability is a assurance that a machine would have an efficiency of one or close to one.
The minimum allowable reliability R;
(1 - R) x 2000 = 100
Make R the subject of the formula;
R = 1 - (100/ 2000)
R = 1 - 0.05
= 0.95
NEED HALP ASAP!!!
giving out brainiest
What does output allow a computer to do?
O Display information
O Receive information
B
Do complex math problems
Do math problems quickly
Answer:number one
number one
Explanation:
Answer:
a
Explanation:
xbox one is not turning on and power brick is orange why is that?
Answer:
the power supply is working fine but has been set to energy-saving power mode.
Explanation:
A steady orange light on the power brick means that the power supply is working fine but has been set to energy-saving power mode. This happens as a safety precaution when a power surge is detected. In order to fix this, you must first unplug the power brick from both the Xbox one and the wall socket. Next, you have to leave the power brick disconnected for about 30 seconds to a minute so that the energy completely fades. Finally, plug back in the cable and restart your console. It should now have a steady white light and be back to functioning perfectly.
Select all examples of proper keyboarding technique.
Look at the keys while keyboarding.
Keep your hands higher than your elbows.
Sit up straight.
Relax your fingers.
Aim to make no mistakes.
Answer:
all except keeping your hands higher than your elbows
Answer:
Sit up straight.
Relax your fingers.
Aim to make no mistakes.
Explanation:
Explain how a stored procedure is processed by the DBMS query processor (including the type of return value after the query is processed
Answer:
The stored procedures in DBMS can be executed with;
EXEC procedure_name
It can also be executed with single or multiple arguments with
EXEC procedure_name (use the at tag here)Address= data1, (use the at tag here)Address= data2;
It returns a status value of the queried table.
Explanation:
A stored procedure is a subroutine used in SQL servers to perform a task on a table in a database or the database itself. The syntax for creating a stored procedure is;
CREATE PROCEDURE procedure_name
And then, other statements can be written to be executed when the procedure is called.
A .cache is made up of _____ , each of which stores a block along with a tag and possibly a valid/dirty bit
Answer:
Blocks
Explanation:
A .cache is made up of blocks, each of which stores a block along with a tag and possibly a valid/dirty bit.
Basically, each blocks that makes up the cache stores additional block and sometimes a bit.
As an interviewer, it is not necessary to be at eye level with interviewee
True
False
Answer:
True
Explanation:
Have a great day
Answer:
True
Hope this helps
Asymmetric encryption uses only 1 key.
A)
False
B)
True