<span>c. assembly language
Let's look at the 4 choices and see why they work, or don't work for this question.
a. extensible markup language - Otherwise known as XML, this is a markup language that's designed to allow data to be shared between different systems in a portable manner. HTML is a subset of XML. Definitely not machine dependent, so this is the wrong answer.
b. structure query language - Otherwise known as SQL, this is a language used in defining queries to a remote or local database. It's intended so that the actual implementation of the database is unknown to the user and allows the user to write database queries in a portable fashion. Also not machine dependent, so this is the wrong answer.
c. assembly language - This is a low level language specific to the CPU architecture. A program written for the x86 platform won't run on a 680x0 based machine and visa versa. A program written for SPARC won't run on an x86 machine. Assembly language programs tend to directly manipulate the hardware of the computer directly and are very machine dependent. This is the correct answer.
d. high-level language - Some example languages would be C, C++, Basic, Algol, Pascal, etc. High level languages were developed so that programs could be easily moved over to other computers as newer more powerful computers because available. They also abstract details about the hardware so that the programmers don't need to know every single detail about the underlying computer. Purpose is to allow programs to be portable across multiple platforms with minimal to no effort. Not the correct answer.</span>
Hi!
A 'Monochrome' is a picture, painting, or drawing in different shades of a single colour.
If you use wiki for references, it could be useful
It would help if there is a programming language in the context of which you need this answered. For instance in Python you can create a program like this:
print(type("Hello"))
print(type(1337))
print(type(True))
print(type("3.14"))
It will return:
<class 'str'>
<class 'int'>
<class 'bool'>
<class 'str'>
Answer:
def prolog(mylist):
for x in range(2):
del mylist[0]
del mylist[-1]
return mylist
scores = [23, 23,45, 45, 65, 65]
result = prolog(scores)
Explanation:
The del keyword in python is used to delete variable and items in a data structure like in a list. To delete a list, specify the list name and also an index to delete an item.
The function 'prolog' loops through a list to delete the first and the last two items.