Answer:
microcomputers are installed with TCP/IP protocols because its a set of standardized rule that allows the computer to communicate on a network such as the internet
Explanation:
Three reasons why users attach speakers to their computers.
Answer:
Iv'e answered this question 2 times already lol. The purpose of speakers is to produce audio output that can be heard by the listener. Speakers are transducers that convert electromagnetic waves into sound waves. The speakers receive audio input from a device such as a computer or an audio receiver.
Explanation: I hope this helps!
what is the relationship between a base and the number of symbols in a positional number system?
Answer:
the value of a symbol is given by the weight of it's position expressed in the bases of the system (or radices)
Create a class to represent light bulbs
Create a class called Bulb that will represent a light bulb. It should have instance variables for the manufacturer (String), part number (String), wattage (int) and lumens (int). Get and Set methods should be included. Override the equals and to String methods from class Object.
List of Bulbs
Create a class called BulbNode which has fields for the data (a Bulb) and next (BulbNode) instance variables. Include a one-argument constructor which takes a Bulb as a parameter. (For hints, see the PowerPoint on "Static vs. Dynamic Structures".)
public BulbNode (Bulb b) {...}
The instance variables should have protected access. There will not be any get and set methods for the two instance variables.
Create an abstract linked list class called BulbList. This should be a linked list with head node as described in lecture. Modify it so that the data type in the nodes is Bulb. The no-argument constructor should create an empty list with first and last pointing to an empty head node, and length equal to zero. Include an append method in this class.
Create two more linked list classes that extend the abstract class BulbList: One called UnsortedBulbList and one called SortedBulbList, each with appropriate no-argument constructors. Each of these classes should have a method called add(Bulb) that will add a new node to the list. In the case of the UnsortedBulbList it will add it to the end of the list by calling the append method in the super class. In the case of the SortedBulbList it will insert the node in the proper position to keep the list sorted by wattage.
Instantiate two linked lists, and for every Bulb read from the file, add it to the unsorted and sorted lists using the add method. You will end up with the first list having the Bulbs from the input file in the order they were read, and in the second list the Bulbs will be in sorted order.
Display the unsorted and sorted Bulbs in a GUI with a GridLayout of one row and two columns. Put the unsorted Bulbs in the left column, and the sorted Bulbs in the right column.
The input file
There will be an input file provided on Blackboard which contains information about bulbs, one per line, with the manufacturer, part number, wattage and lumens separated by commas, such as:
Phillips, 1237DF2, 100, 1200
You can separate the four items using a StringTokenizer.
Submitting the Project.
You should now have the following files to submit for this project:
Project2.java
Bulb.java
BulbGUI.java
BulbNode.java
BulbList.java
UnsortedBulbList.java
SortedBulblist.java
Submit a jar file.
Rather than upload all the files above separately, we will use Java's facility to create the equivalent of a zip file that is known as a Java Archive file, or "jar" file.
Instructions on how to create a jar file using Eclipse are on Blackboard. Create a jar file called Project2.jar and submit that. Be sure the jar file contains source code, not classes.
Answer:
umm
Explanation:
The following Mic1 microcode excerpt shows support for a possible 7 bit opcode, 8 bit integer argument machine instruction (organized like the INSP instruction). This part of the microcode will be reached after the instruction opcode has been parsed and identified by earlier parts of the microcode and while the IR contains the complete instruction from memory (as usual for the IR).
100:a := band(smask, ir);
101:a := a + (-1); if n goto 0;
102:ac := lshift(ac); if n goto 104;
103:goto 101;
104:ac := ac + 1; goto 101;
If this possible instruction had a masm assembly pneumonic of XXXX , and was used in an assembly program as shown below:
.
.
LODD abc:
XXXX 7
HALT
.
.
abc: "lost"
What would the 16 bit content of the AC look like when we hit the HALT instruction?
a. 1 0 1 1 0 1 1 0 0 0 1 1 0 1 1 1
b. 0 1 1 0 1 1 1 1 0 1 1 0 1 1 0 0
c. 0 1 1 0 1 1 0 0 0 1 1 0 1 1 1 1
d. 0 0 1 1 0 1 1 1 1 0 1 1 0 1 1 0
Answer:
The answer is "Option A".
Explanation:
In the first 2 signatures in a string, the "ol" with both the "l" throughout the low byte environment is included, and so the initial bit layout becomes: Number of [tex]0 1 1 0 1 1 1 1 0 1 1 0 1 1 0 0[/tex] Its high 7 bits are moved to the lower 7 having come until the correct circular change of 7 is done:
[tex]0 1 1 0 1 1 1 1 0 1 1 0 1 1 0 0 \ \ \ to \ \ 1 0 1 1 0 1 1 0 0 0 1 1 0 1 1 1[/tex]
what is the determinant of the identity matrix I?
Answer:
Explanation:
The ith column of an identity matrix is the unit vector ei (the vector whose ith entry is 1 and 0 elsewhere) It follows that the determinant of the identity matrix is 1, and the trace is n. When the identity matrix is the product of two square matrices, the two matrices are said to be the inverse of each other.
Explain what an IM is, and what is the technology shown in the accompanying figure
Answer: Instant Message
Explanation:
Answer:the technology that is shown is a ch't rooms, a website or application that permits users to ch't with others who are online at the same time. as you type others can see what you type may i get brainiest plz
Explanation:
8.9 Lesson Practice edhesive
Answer:
1. search
2. False
3. Our algorithm did not find the element we were looking for.
Explanation:
How can the adoption of a data platform simplify data governance for an organization?
Answer:
by implementing models that predict compliance with data protection and data privacy policies.
Explanation:
A data platform is an IT system that helps an organization to organize, control and coordinate a large volume of data with the aim of making organizational systems faster and optimizing the decision-making process with effective strategic solutions for organizational success .
A database can simplify data governance for an organization by the fact that data is available to users determined by the organization itself, which increases the security and control of business-critical data.
Write a program that demonstrates how various exceptions are caught with catch(Exception exception). This time define classes ExceptionA (which inherits from class Exception) and ExceptionB (which inherits from class ExceptionA). In your program, create try blocks that throw exceptions of types ExceptionA, ExceptionB, NullPointerException and IOException. All exceptions should be caught with catch blocks specifying type Exception.
Answer:
Sorry mate I tried but I got it wrong!
Explanation:
Sorry again
Cuál es el objetivo principal de una clave primaria?
La clave principal le permite crear un identificador único para cada fila de su tabla. Es importante porque le ayuda a vincular su tabla a otras tablas (relaciones) utilizando la clave principal como vínculos.
why do we need to settle technology in business?
Answer:
Technology has important effects on business operations. No matter the size of your enterprise, technology has both tangible and intangible benefits that will help you make money and produce the results your customers demand. Technological infrastructure affects the culture, efficiency and relationships of a business.
unanswered questionl
¿ ? ¿ ? Whattttt ? ¿ ? ¿
Answer: What
Explanation:
Which of the following is true about media production? A. All media elements contain a certain type of editorial viewpoint. B. Producing a media text involves both print and images C. Every type of media has a different set of tools and devices available. D. Media producers are all trying to confuse their audience
Answer:
C
Explanation:
Every form of media has different resources.
Can someone help me with this lab assignment? I really do not know what should I do?
This assignment
The program you wrote in Stacks 1 is incomplete. Without a destructor it creates a memory leak. A destructor has been defined in this program but it is incorrect. To visualize how the destructor works, a cout statement has been added. Fix the errors, including the cout statement, to display the value in each node of the stack before releasing the memory.
Write a loop in main() to enter an unknown number of positive integers. The loop stops when you enter 0 or a negative number. As you are entering integers, they are to be pushed onto a stack.
Ex.: If the user enters '10 20 30 -1` the output (from the destructor) should be:
30 - deleted!
20 - deleted!
10 - deleted!
Empty stack!
Ex.: If the user enters '-1` the output should be:
Empty stack!
This is the code:
#include
using namespace std;
class Stack_int
{
private:
// Structure for the stack nodes
struct StackNode {
int value; // Value in the node
StackNode *next; // Pointer to next node
};
StackNode *top; // Pointer to the stack top
int length; // Number of nodes
public:
Stack_int(){ top = NULL; length = 0; } //Constructor
~Stack_int(); // Destructor
// Stack operations
// bool isEmpty();
bool push(int);
// int pop();
// int peek();
// int getLength();
};
/**~*~*
Member function push: pushes the argument onto the stack.
*~**/
bool Stack_int::push(int item)
{
StackNode *newNode; // Pointer to a new node
// Allocate a new node and store num there.
newNode = new StackNode;
if (!newNode)
return false;
newNode->value = item;
// Update links and counter
newNode->next = top;
top = newNode;
length++;
return true;
}
/**~*~*
Destructor
*~**/
Stack_int::~Stack_int()
{
StackNode *currNode;
// Position nodePtr at the top of the stack.
currNode = top;
// Traverse the list deleting each node.
while (currNode)
{
cout << currNode->value << " - deleted!" << endl;
delete currNode;
currNode = NULL;
currNode = currNode->next;
}
cout << "Empty stack!" << endl;
}
int main() {
Stack_int s;
int item;
return 0;
}
Answer:
your question is too long to read
Explanation:
try explaining it in fewer words
help asapp!!!!!! give the technical name means (write the name in one word) . the feature of virus which copies itself..
Answer:
if a computer is made out of many copies it can cause a virus with a definition of a tro Jan by a virus
Explanation:
what follows is a brief history of the computer virus and what the future holds for this once when a computer is made multiple copies of it's so several reducing malicious intent here but animal and prevade fit the definition of a Trojan buy viruses worms and Trojans paint the name Malwar as an umbrella term
State
any three (3) reasons why users attach speakers to their computer?
Answer:
To complete the computer setup, to hear audio, to share audio.
Explanation:
A computer is not really complete without speakers.
So that you can actually hear the computer's audio.
So that you can have multiple people hear the same audio. (Headphones do not do this)
Ling has configured a delegate for her calendar and would like to ensure that the delegate is aware of their permissions. Which option should she configure?
Delegate can see my private Items
Tasks > Editor
Inbox > None
Automatically send a message to delegate summarizing these permissions
Answer:
Tasks>Editor (B)
Explanation:
I just did the test
Answer:
Tasks > Editor
Explanation:
Did the test
Which item can you add using the tag?
OA.
a movie
OB.
an image
OC.
a documentary
OD.
a music file
Answer:
The answer to this would be D: A music file
Explanation:
Since this tag is is <audio>, all of the other ones are visual and have sound. This means that a tag would need to be able to display visuals as well. Making a music file the only item you would be able to include with the given tag.
Consider a model of a drone to deliver the orders of the customers within the range of 20 km of the coverage area.
Identified at least 5 factors (inputs) required to experiment with the above mention system model (e.g. speed of the drone).
Write down the levels (range or setting) for each factor mentioned above. (e.g. speed ranges from 10km/h to 30km/h).
On what responses (results) will you analyses the experiment’s success or failure (e.g. drone failed to deliver the package on time), mention at least 3 responses
Answer:
Explanation:
suna shahani kesa a ..
In the recursive function findMatch(), the first call is findMatch(array, 0, 4, key) . What are the remaining function calls to find the character 'e'?
public class FindMatch {
public static int findMatch(char array[], int low, int high, char key) {
if (high >= low) {
int mid = low + (high - low) / 2;
if (array[mid] == key) {
return mid;
}
if (array[mid] > key) {
return findMatch(array, low, mid, key);
}
else {
return findMatch(array, mid + 1, high, key);
}
}
return -1;
}
public static void main(String args[]){
char array[] = {'a','b','c','d','e'};
char key = 'e';
int result = findMatch(array, 0, 4, key);
if (result == -1) {
System.out.println("Element not found!");
}
else {
System.out.println("Element found at index: " + result);
}
}
}
a. (array, 2, 4, key) and (array, 3, 4, key)
b. (array, 2, 4, key), (array, 3, 4, key) and (array, 4, 4, key)
c. (array, 3, 4, key)
d. (array, 3, 4, key) and (array, 4, 4, key)
Answer:
The answer is "Option D".
Explanation:
In the given question "(array, 3, 4, key) and (array, 4, 4, key)", the element 'e' to also be searched is concentrated mostly on the right-hand side of the array since it is in the last place. This same middle value is 2 but findMatch(array, mid + 1 high, key) is labeled twice to move the center pointer to its last position, that is, so move that search item's 'e.'
Four reasons why users attach speakers to their computer
which service is a major commercial cloud platform?
a. Microsoft SQL Services
b. SAP Cloud Services
c. Amazon Web Services
d. Oracle Enterprise Services
Answer: Amazon Web Service
Explanation:
The service that's a major commercial cloud platform is the Amazon Web Service.
Amazon Web Services offers global cloud based products which include databases, storage, networking, IoT, developer tools, analytics, mobile, develo management tools, security applications etc.
The services are of immense benefit to organizations as they help them in achieving their goals as it helps in lowering IT costs, increase speed, enhance efficiency and revenue.
Write a C++ function for the following:
Suppose that Account class has a method called withdraw, which will be inherited by Checking and Savings class. The withdraw method will perform according to account type. So, the late bind is needed. Declare the withdraw method in Account class. The method should take a double input as withdraw amount and output true if the withdraw successfully and false if the withdraw unsuccessfully.
Solution :
class Account
[tex]$ \{ $[/tex]
public:
[tex]$\text{Account}()$[/tex];
double [tex]$\text{getBalance}$[/tex]();
void [tex]$\text{setBalance}$[/tex]();
[tex]$\text{bool withdraw}$[/tex](double bal);
[tex]$\text{private}:$[/tex]
double [tex]$\text{balance}$[/tex];
}:
[tex]$\text{Account}()$[/tex] {}
double [tex]$\text{getBalance}$[/tex]()
[tex]$ \{ $[/tex]
[tex]$\text{return balance}$[/tex];
}
void [tex]$\text{setBalance}$[/tex](double [tex]$\text{balance}$[/tex])
[tex]$ \{ $[/tex]
this.[tex]$\text{balance}$[/tex] = [tex]$\text{balance}$[/tex];
}
[tex]$\text{boolean}$[/tex] withdraw([tex]$\text{double bal}$[/tex])
[tex]$ \{ $[/tex]
if([tex]$\text{balance}$[/tex] >= bal)
[tex]$ \{ $[/tex]
[tex]$\text{balance}$[/tex] = [tex]$\text{balance}$[/tex] - bal;
[tex]$\text{return}$[/tex] true;
}
[tex]$\text{return}$[/tex] false;
}
}
Discusstheimportanceofbackingupdatainorganizations,pointingoutthebenefits
ofcloudbackupoption
Addition helps kids master the relationships between numbers and understand how quantities relate to one another. Even when kindergartners can't reliably answer addition problems or manipulate large numbers, basic addition skills give them a framework for mastering math in elementary schoo
Question 4
What methods do phishing and spoofing scammers use? List and explain methods to protect
against phishing and spoofing scams. (10 marks
Answer:
The answer is below
Explanation:
There are various methods of phishing and spoofing scammers use, some of which are:
Phishing:
1. Descriptive phishing: here the scammer use fake email to pretend to be a genuine company and steal people's vital details
2. Spear Phishing: here the scammer creates an email that appears there is a connection on the potential victim
3. CEO Fraud: here the scammer target CEO of a company, thereby if successful can fraudulently attack the company due to his access.
Other phishing attacks are vishing, smishing, and pharming, etc.
Spoofing:
1. Email spoofing: here the attacker sends an email through a fake email address to get personal details of a potential victim
2. Caller ID Spoofing: here the attacker makes it appear that he is one specific person, but he is not in the real sense.
3. GPS Spoofing: here the attacker makes it appear he is in a specific location, whereas, he is not.
Others include website spoofing, text message spoofing, Io spoofing etc.
For this lab you will write a class to create a user-defined type called Shapes to represent different shapes, their perimeters and their areas. The class should have three fields: shape, which is of type string, and perimeter and area of type double. The program will have to be able to calculate perimeters and areas for circles, triangles, squares and rectangles, which are the known shapes.
2.1 Constructors
Write these constructors:
1. Default constructor that sets the shape to "unknown" and the perimeter and area to 0
2. Constructor with one parameter, shape, that sets the shape, other fields are 0
2.2 Accessors & Mutators
Write the following member methods:
1. setShape()
Modifies the shape field
2. getShape()
Returns the shape field
3. getPerimeter()
Returns the perimeter field
4. getArea()
Returns the area field
Arithmetic Methods in Interface
Write the following member methods to perform arithmetic:
1. setPerimeter(Scanner scnr)
Depending on the shape, prompts the user for appropriate variables (ie width & height for a square, radius for a circle, etc.) and calculates the perimeter of the appropriate shape. The perimeter field should be updates with the new value. If the shape is unknown, then print to the screen that the user must first define a shape before a perimeter can be calculated and set the perimeter to 0.
2. setArea(Scanner scnr)
Depending on the shape, prompts the user for appropriate variables (ie width & height for a square, radius for a circle, etc.) and calculates the area of the appropriate shape. The area field should be updates with the new value. If the shape is unknown, then print to the screen that the user must first define a shape before an area can be calculated and set the area to 0.
2.3 Additional Methods
Create two additional methods of your choice. Be sure to clearly label both of these methods as your own.
2.4 Using another .java file called ShapesTest.java that tests that all of your methods work correctly
========= Shape.java ===========
//import the Scanner class
import java.util.Scanner;
public class Shape{
//required fields
private String shape;
private double area;
private double perimeter;
//default constructor
public Shape(){
this.shape = "unknown";
this.area = 0.0;
this.perimeter = 0.0;
}
//constructor with one parameter
public Shape(String shape){
this.setShape(shape);
this.area = 0.0;
this.perimeter = 0.0;
}
//accessors and mutators
public void setShape(String shape){
this.shape = shape;
}
public String getShape(){
return this.shape;
}
public double getPerimeter(){
return this.perimeter;
}
public double getArea(){
return this.area;
}
public void setPerimeter(Scanner scr){
if(this.getShape().equals("circle")){
System.out.println("Enter the radius of the circle");
double radius = scr.nextDouble();
this.perimeter = 2 * 3.142 * radius;
}
else if(this.getShape().equals("rectangle")){
System.out.println("Enter the width");
double width = scr.nextDouble();
System.out.println("Enter the height");
double height = scr.nextDouble();
this.perimeter = 2 * (width + height);
}
else if(this.getShape().equals("square")){
System.out.println("Enter the height or width");
double height = scr.nextDouble();
this.perimeter = 4 * height;
}
else if(this.getShape().equals("unknown")){
System.out.println("You must define a shape first before calculating perimeter");
this.perimeter = 0.0;
}
else {
System.out.println("You must define a shape first before calculating perimeter");
this.perimeter = 0.0;
}
}
public void setArea(Scanner scr){
if(this.getShape().equals("circle")){
System.out.println("Enter the radius of the circle");
double radius = scr.nextDouble();
this.area = 3.142 * radius * radius;
}
else if(this.getShape().equals("rectangle")){
System.out.println("Enter the width");
double width = scr.nextDouble();
System.out.println("Enter the height");
double height = scr.nextDouble();
this.area = width * height;
}
else if(this.getShape().equals("square")){
System.out.println("Enter the height or width");
double height = scr.nextDouble();
this.area = height * height;
}
else if(this.getShape().equals("unknown")){
System.out.println("You must define a shape first before calculating area");
this.area = 0.0;
}
else {
System.out.println("You must define a shape first before calculating area");
this.area = 0.0;
}
}
//Own methods
//1. Method to show the properties of a shape
public void showProperties(){
System.out.println();
System.out.println("The properties of the shape are");
System.out.println("Shape : " + this.getShape());
System.out.println("Perimeter : " + this.getPerimeter());
System.out.println("Area : " + this.getArea());
}
//2. Method to find and show the difference between the area and perimeter of a shape
public void getDifference(){
double diff = this.getArea() - this.getPerimeter();
System.out.println();
System.out.println("The difference is " + diff);
}
}
========= ShapeTest.java ===========
import java.util.Scanner;
public class ShapeTest {
public static void main(String [] args){
Scanner scanner = new Scanner(System.in);
// create an unknown shape
Shape shape_unknown = new Shape();
//get the shape
System.out.println("The shape is " + shape_unknown.getShape());
//set the area
shape_unknown.setArea(scanner);
//get the area
System.out.println("The area is " + shape_unknown.getArea());
//set the perimeter
shape_unknown.setPerimeter(scanner);
//get the perimeter
System.out.println("The perimeter is " + shape_unknown.getPerimeter());
// create another shape - circle
Shape shape_circle = new Shape("circle");
//set the area
shape_circle.setArea(scanner);
//get the area
System.out.println("The area is " + shape_circle.getArea());
//set the perimeter
shape_circle.setPerimeter(scanner);
//get the area
System.out.println("The perimeter is " + shape_circle.getArea());
//get the properties
shape_circle.showProperties();
//get the difference between area and perimeter
shape_circle.getDifference();
}
}
Sample output:
The shape is unknown
You must define a shape first before calculating area
The area is 0.0
You must define a shape first before calculating perimeter
The perimeter is 0.0
Enter the radius of the circle
>> 12
The area is 452.448
Enter the radius of the circle
>> 12
The perimeter is 452.448
The properties of the shape are
Shape : circle
Perimeter : 75.408
Area : 452.448
The difference is 377.03999999999996
Explanation:
The code above is written in Java. It contains comments explaining important parts of the code. Please go through the code for more explanations. For better formatting, the sample output together with the code files have also been attached to this response.
Phone numbers and PIN codes can be easier to remember when you find words that spell out the number on a standard phone keypad. For example, instead of remembering the combination 2633, you can just think of CODE. Write a recursive function that, given a number, yields all possible spellings (which may or may not be real words).
Answer:
Explanation:
The following is written in Python and the code first creates a simulated keypad with all the characters. Then the function detects the number passed as an input argument and outputs all the possible spelling combinations.
keypad = {
'2': 'abc',
'3': 'def',
'4': 'ghi',
'5': 'jkl',
'6': 'mno',
'7': 'pqrs',
'8': 'tuv',
'9': 'wxyz',
}
def word_numbers(number):
number = str(number)
wordList = ['']
for char in number:
letters = keypad.get(char, '')
wordList = [prefix+letter for prefix in wordList for letter in letters]
return wordList
What is the first thing you should do when you discover a computer is infected with malware? The second thing?
Answer:
Quarantine the computer.
Explanation:
Malware can be characterized with negative software capable of causing various damages to a computer, such as theft of data and information, in addition to damage to devices.
In order to avoid having your computer infected with malware, it is essential to have installed reliable malware-checking software, in addition to taking all appropriate security measures when accessing the internet and never clicking on unknown or suspicious links.
Therefore, when realizing that the computer has been infected by malware, it is necessary to quarantine the computer and immediately disconnect from a network so that it does not infect other computers. The quarantine acts as an action where the infected file is moved to an encrypted folder where the malware cannot be executed and spread by the operating system.
web analytics can tell you many things about your online performance, but what can analytics tools not tell you
Answer:
The answer is below
Explanation:
While web analytics such as Góogle analysts is known to help online marketers to map out a clear strategy and thereby improve their outreach, there are still some specific things the current web analytics can not do for the user. For example:
1. Web Analytics can’t accurately track leads
2. Web Analytics can’t track lead quality
3. Web Analytics can’t track the full customer journey
4. Web Analytics can’t highlight the true impact of payment.
Which language paradigm interacts well with database systems in business environments that use SQL? (I WILL GIVE BRAINLIEST TO THE RIGHT ANSWER
aspect-oriented
data-oriented
fourth-generation
logic-based
Answer:
I think it is fourth-generation.
Explanation: