Suppose that you have a computer with a memory unit of 24 bits per word. In this
computer, the assembly program’s instruction set consists of 198 different operations.
All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory.
1. How many bits are needed for the opcode?
2. How many bits are left for the address part of the instruction?
3. How many additional instructions could be added to this instruction set without
exceeding the assigned number of bits? Discuss and show your calculations.
4. What is the largest unsigned binary number that the address can hold?
Answer:
a ) The amount of bits required for the opcode
8 bits
2^8= 256
256>198
We get the next lower number, which is 2^7 = 128 bits, because it is greater than 198. As a result, the operation code necessitates 8 bits.
b) The number of bits reserved for the instruction's address.
16 bits
24-8 = 16
c)
65536
2^16 = 65536
Maximum number = 65535
2^15 = 32768-1
= 32767
Explanation:
write an assembly program that uses the output compare function of a timer to toggle an led every second
; Set up output compare function
movlw 0x3E
movwf TOCON
; Set up LED port as output
bcf TRISB, 0
; Set up timer
movlw 0xFF
movwf TMR1
movlw 0x60
movwf PR1
; Enable timer and output compare function
bsf T1CON, TMR1ON
bsf T1CON, T1OSCEN
; Main loop
loop:
; Wait for output compare event
btfss T1CON, OCF1
goto loop
; Toggle LED
bcf PORTB, 0
btfss PORTB, 0
bsf PORTB, 0
; Clear output compare flag
bcf T1CON, OCF1
; Repeat
goto loop
state the name of the following computer components
Answer:
Memory.
Hard Drive or Solid State Drive.
Video card.
Motherboard.
Processor.
Power Supply.
Monitor.
Keyboard and Mouse.
Explanation:
You ran your email by a few colleagues, and they think it is perfect for your audience – professional, technical, and informative. Your email is ready to send out, so you schedule it for 8AM the next day to reach customers’ inboxes as they start their day. How should you include the email addresses?
You should include in the email addresses by CC all recipients.
What does it mean to CC recipients?The CC abbreviation is a term that stands for “carbon copy.”
The CC recipients is known to get or receive also the same copy of the email and any kinds of other “Reply All” responses that one can see in the thread. Note that all recipients of the email will also see who has been given the CC' message.
See options below
-CC all recipients.
-BCC all recipients
Learn more about email from
https://brainly.com/question/14236855
Please help me answer this in c++, I'm having problems trying to complete this program, thank you!
Modify the mortgage program to display 3 mortgage loans: 7 year at 5.35%, 15 year at 5.5 %, and 30 year at 5.75%. Use an array for the different loans. Display the mortgage payment amount for each loan. Do not use a graphical user interface
The program is an illustration of loops, and loops are used for iterative purposes
The complete program in C++The main program is not given, so I will write the new program from scratch.
The program written in C++, where comments are used to explain each action is as follows:
#include<iostream>
using namespace std;
int main(){
//This declares the required variables
float monthlyPayment, rate, principalAmount, f;
int years; f=1;
.................
See attachment for the complete program
}
Read more about loops at:
https://brainly.com/question/24833629
Complete the sentence.
For self-driving cars, both the programmers of the software and governments who regulate them must adhere to
intellectual property laws
ethical principles
noncompete agreements
- to safeguard that the software that controls the car is capable of making life-or-death
Answer:
[ C ] governments who regulate the car industry
[ D ] the programmers who create the software that control the car
Proof:
Governments who regulate the car industry, the programmers who create the software that control the car are the complete sentence.
What is car industry?Car industry is the place where the manufacturing of the cars and automobile parts are placed. Car industry do manufacturing work for the selling purpose. The company may be directly or indirectly engage in the selling industry.
Thus, sentences are completed.
For more details about car industry, click here:
https://brainly.com/question/1139792
#SPJ2
A person can only give blood to someone with compatible blood antigens. If a person receives blood from someone with an incompatible blood type, it can cause a life threatening immune system reaction. The blood transfusion will likely fail.
Your program should ask a user’s blood type first, then if she/he want to learn about giving or receiving blood. Based on the blood type and choice of give or receive, your program will print the corresponding compatible blood types.
NOTE, if the blood type or give/receive choice entered doesn’t exist, the program should promote the user to re-enter it again.
A new robot is created to explore volcanoes on other planets. Which robot is
most likely to have been referenced in the design of the new robot?
A. Dante
B. Roomba
C. ASIMO
D. Sophia
Answer:
A
Explanation: Dante II is a unique walking robot that provides important insight into high-mobility robotic locomotion and remote robotic exploration. Dante's uniqueness stems from its combined legged and rappelling mobility system, its scanning laser rangefinder and its multi-level control scheme.
True or false: the HTTPs means that the information on a website has been fact-checked
True
False
Answer:
False
Explanation:
Similarities in off-site and On-site
Answer:
Off prevents the page from finding your easy search terms; basically what you search for, while On page will help you improve the quality of your newly designed web page.
▬▬▬Casual Terms▬▬▬
Off page means that you are not actively viewing a page; unlike On, it would mean the exact opposite.
▬▬▬Conclusion▬▬▬
I Hope you have a great day!
Answer:
onsite is on or at a site while offsite is away from a mail location in a place not owned by a particular organization.
Why do you want to work for Rev?
People do have reasons why they want to work for a particular company. It may be due to what they company stands for, what they make or about your dream.
I can therefore say that I want to work for Rev because they are revolutionizing the industry and I want to be part of the change process.
How do you answer why do you want to work?Note that when looking for a job, job experience do matter. When ask the reason for looking for this job.
One can answer that they have the experience or the needed expertise and skills required for this job as they want to be aligned with what the company stands for.
Learn more about work from
https://brainly.com/question/25573309
Which item is used in Excel to identify the row of a particular cell?
letter
number
type
sheet
The answer is B) number
Answer:
B) number
Explanation:
you are correct! for instance the cell E3 has the column E and the row 3
You have been asked to investigate a web server for possible intrusion. You identify a script with the following code. What language is the code in and does it seem likely to be malicious? import os, sockets, syslog def r_conn(ip) s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) s.connect(("logging.trusted.foo",514))
The code below is written in JavaScript and does not seem malicious.
What is a Malicious Code?A Malicious code is one that is not designed for any productive end but to cause disruptions in the computer with the objective of
harming the workstation; or destroying the data stored therein.There are numerous classifications of malicious codes and they can be identified and removed by an application called an Anti-Virus or malicious app remover.
Learn more about JavaScript at:
https://brainly.com/question/16698901
You work as an assistant in your school’s computer lab. A student asks you to help her install a program on her laptop using an installation disc she borrowed from a friend. You read the EULA and notice that it provides only a single-user license. What are the ethical and legal issues surrounding using a single-user license on more than one computer? What should you do?
The ethical and legal issues surrounding using a single-user license on more than one computer is that if caught, it can lead to termination of the software package that you are in.
The ethical implication is that one cannot be trusted, our integrity has have brought down to zero. The right thing to do is to explain to the student and if you can, get her another software.
What is single user License agreement?Single User License is a term that connote that there shall be only one person to use, receive and access a product or software and it cannot be shared with other individuals.
In Single user, the software is said to be licensed for a single user and not for Multi-user.
Learn more about User License from
https://brainly.com/question/13502276
This is an example of what type of formula? =AVERAGE(D1:D17) A. ADDITION
B.SUBTRACTION C.RANGE D.AVERAGE
Answer:
d average
Explanation:
average as it already shows it says average
13. In cell B16, use the SUMIF function and structured references to display the total wins for teams in the Youth league.
Using the SUMIF function and structured references to display the total wins for teams in the Youth league is gotten as; 65
How to make use of the SUMIF Function?
The SUMIF function in excel combines a condition and a sum of the values which meets the stated condition. That is; SUMIF(row_range, condition)
From the attached image we can see the number of times youth won the league in column D. Also, we can see the total number of youth wins in column H under Total.
Thus, using SUMIF function for the total number of wins, we have;
B6 = SUMIF(SwimTeams[League], "youth",H3:H12
B6 = 21 + 16 + 12 + 9 + 7
B6 = 65
Read more about the SUMIF Function at; https://brainly.com/question/19595606
Discussion 5
Kris Allen runs a pet daycare center. She needs to keep track of contact information for her customers, their animals, the services provided (such as walking and grooming), and the staff who are assigned to care for them. She also must send out invoices for payment each month. What features of spreadsheets and/or database software might she use to facilitate her business?
The features of spreadsheets and/or database software that she can use to facilitate her business are;
Rows and columns in spreadsheet's can make her information to be neatly organized.The use of Formulas and functions. Data filtering Accounting.Analytics, etc.Why does business use database software?Businesses can known to use database software to make a good and well manage data output. They also use it to work with their data.
Note that in almost all kinds of businesses, there is the use database software just to keep a track of contacts, addresses, payrolls and other kind of functions to is linked to business and customers.
Learn more about database software from
https://brainly.com/question/1022352
Draw a rectangle, give its perimeter and Area
Ask the user for a length and width of a rectangle.
Draw the rectangle
find and show the perimeter
find and show the Area
I am assuming this is in python, so I will use comments to explain each step
l=int(input('What is the length of the rectangle')
w=int(input('What is the width of the rectangle')
#here use whatever graphics code required to draw the rectangle
#will probably be similar to rect=Rectangle(l,w)
print('Perimeter is' +(2*l+2*w))
print('Area is' +(l*w))
________ can contain stacked images, text, and other elements which collectively comprise a Photoshop file.
Which part of the Word application window should the user go to for the following activities?:
Answer:
what are the activities
when doing a complex presentation which of the fallowing will be the best tool to begin designing your presentation
Answer:
Explanation:
The options are:
a) Open Office Writer
b) Open Office Impress
c) an outline
d) photographs
The most commonly used presentation software is Microsoft PowerPoint but it is not always available; as is the case here. Of the options, Open Office Impress is the closest in its functions to PowerPoint and is a good tool to design a complex presentation.
how do you create 2 dimensional array with c++?
2 dimensional arrays in C++ are arrays that have 2 dimensions i.e. rows and columns
How to create the array?To create a 2-dimensional array in C++, you make use of the following syntax
data_type array_name[rows][columns];
Assume the following parameters:
The data type of the array is integerThe array name is StudentsThe array has 10 rows and 20 columns.The declaration of an array with the above properties would be:
int Students[10][20];
Read more about arrays at:
https://brainly.com/question/22364342
Write the pseudocode for the following scenario. The final exam marks for 10 students are 65, 45, 78, 65, 89, 65, 79, 67, 75, and 63. The marks are stored in an array. Find: • The student with the highest mark. • The student with the lowest mark. • The total marks for all the students. • The overall average.
The pseudocode of the program serves as a prototype of the program
How to determine the pseudocode?The pseudocode of the program is as follows:
StartDeclare array MARKSInput MARKS[0] to MARKS[9]Sort MARKSPrint MARKS[9] ----- this prints the highest markPrint MARKS[0] ----- this prints the least markFOR I = 0 TO 9; ADD MARK[I] TO TOTALPrint TOTALPrint TOTAL/10StopThe above pseudocode gets input for the array; then sorts the array before performing the required operations
Read more about pseudocodes at:
https://brainly.com/question/24735155
What is the purpose of memory address?
Answer:
A memory address is a unique identifier used by a device or CPU for data tracking.
Woulf you rather :
Be a Alpha Wolf
or
Be a Alpha Shark
Answer:
Alpha wolf
Explanation:
Their superior
(also what is this question? lol)
Answer:
don't know just wanted my points you stole
Explanation:
Which statement best characterizes under what circumstances you should add your social media profile to a resume? You should add your profile even if it is not entirely professional. You should add your profile even if it is not entirely professional. You should add your profile, but it should be entertaining and help you stand out. You should add your profile, but it should be entertaining and help you stand out. You should not add your profile under any circumstances—it is unprofessional. You should not add your profile under any circumstances—it is unprofessional. You should add your profile, but it should be professional and positive.
Answer:
You should add your profile, but it should be professional and positive.
Explanation:
this is the most reasonable response... resumes are for careers and professions.. so you must be professional and positive (if it is for example linkedin)
5. How would you reorder the animation on a slide using the Animation
Pane?
Answer:
undo button
Explanation:
I hope this helps
You're a consultant for a large enterprise that needs a comprehensive IP addressing and DNS management solution for its physical and virtual networks. The enterprise has a primary office in Pittsburgh and three branch offices in Los Angeles, New York, and Miami. It has IT support staff only in the branch offices.The enterprise's server specialists are located in Pittsburgh. The IT directory in Pittsburgh wants to offload some of the IPAM management functions to some of the IT staff without giving them broader domain or forest administrative right. Which type of IPAM architecture do you recommend? Which features of IPAM are you likely to recommend using to address the requirements?
The type of IPAM architecture that I will recommend is the Centralized IPAM. The centralized IPAM server when deploy can help to address the issue.
What is IPAM?IPAM (IP Address Management) is known to be a kind of administration of DNS and DHCP. This is known to be a network services that helps and handles IP addresses to machines in a TCP/IP network.
The Centralized Repository can help administrators to maintain or keep a good, correct and current records of all their IP assignments and left over addresses.
Learn more about IPAM from
https://brainly.com/question/24930846
IM a bit confused on what this is asking for exactly.
Answer:
im not sure can you ask someone for help
Explanation:
[ASAP!] What is a widget?
1. a part of a GUI that allows a specific type of interaction with the user
2. an action taken by the user or a process, such as a user clicking a mouse or pressing a key on a keyboard
3. an algorithm for handling an error
4. a part of a program that responds to an event
Answer:
A
Explanation:
A part of a GUI is the basic definition of a widget.
Comment any additional questions!Answer:
A or number 1
Explanation:
I took the test and got a 100%, and this answer makes the most sense