1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kazeer [188]
4 years ago
12

Which of the following are valid data definition statements that create an array of unsigned bytes containing decimal 10, 20, an

d 30, named myArray.
(A) myArray BYTE 10, 20, 30
(B) BYTE myArray 10, 20, 30
(C) BYTE myArray[3]: 10, 20,30
(D) myArray BYTE DUP (3) 10,20,30
Computers and Technology
1 answer:
sukhopar [10]4 years ago
4 0

Answer:

(A) myArray BYTE 10, 20, 30

Explanation:

The general syntax of array declaration in assembly is given by

Array_Name TYPE value1, value2,...

where type can be BYTE, WORD, DWORD, QWORD, REAL4 etc

where values can be in decimal, binary, or hexadecimal

Example:

Let us define an array of type unsigned byte and named myArray containing decimal values of 10, 20, and 30.

myArray BYTE 10, 20, 30

Hence only option A is the valid data definition.

You might be interested in
Write a program whose input is a character and a string, and whose output indicates the number of times the character appears in
Zielflug [23.3K]

Answer:

The program in Python is as follows:

string = input("String: ")

chr = input("Character: ")[0]

total_count = string.count(chr)

print(total_count,end=" ")

if total_count > 1:

   print(chr+"'s")

else:

   print(chr)

Explanation:

This gets the string from the user

string = input("String: ")

This gets the character from the user

chr = input("Character: ")[0]

This counts the occurrence of the character in the string

total_count = string.count(chr)

This prints the total count of characters

print(total_count,end=" ")

If the count is greater than 1

if total_count > 1:

Then it prints a plural form

   print(chr+"'s")

If otherwise

else:

Then it prints a singular form

   print(chr)

7 0
3 years ago
Which statement demonstrates a conflict of interest in an organization?
lozanna [386]
C hjhjiiiiiiiiiiijjjiiiio
4 0
3 years ago
Can someone please do this java lab for me (100 point version)?
nalin [4]

Answer:

.........................................sorry, dude I download the doc but ,I can't open it.

5 0
3 years ago
A software program installed without the user's knowledge and designed to alter the way a computer operates or to cause harm to
RSB [31]

Answer:

The correct answer for the given question is "Computer virus"

Explanation:

A computer virus is a software program that is installed automatically without user's knowledge and designed to duplicate itself .The main purpose of computer virus is to harm the computer system.

Some of the points regarding computer virus

1.The computer virus contain malicious software Which harm the computer system.

2.It damage the  computer computer system in such away that sometimes users will unable to access some certain functionality of computer system.

5 0
3 years ago
Multiple boolean expressions can be combined by using a logical operator to create ________ expressions.
Licemer1 [7]
<span>Boolean expressions can be combined by using a logical operator to create compound expressions. A boolean expression is an expression that takes into account and evaluates specific data, which is in the form of true and/or false. A compound expression is merely a statement of expressions.</span>
8 0
3 years ago
Other questions:
  • Under which menu option of a word processing program does a star appear
    9·2 answers
  • Discuss how and why video game hardware affects game design and where you think the next generation of platforms will change tho
    9·1 answer
  • The manufacturer doesn't need it the buyer doesn't want it the user doesn't know they're using it
    6·1 answer
  • 2. Because technology is always changing, there are new applications being developed constantly. (1 point)
    9·2 answers
  • Which line of code will print I like to code on the screen? print("I like to code") print(I like to code) print("I LIKE TO CODE"
    5·2 answers
  • What are the advantages of businesses using Twitter ?
    12·1 answer
  • Android OS "AFTER" Beta.<br><br> A. Cupcake<br><br> B. Candy<br><br> C. Cookie<br><br> D. Carmel
    12·1 answer
  • You can not give an exact size for a height for column width true or false
    14·1 answer
  • Which of the following allows you to copy
    15·1 answer
  • A user can add color to a database to highlight a modification. To do this with a macro, which command screen would you access o
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!