Computers are used to input, store, process, find and share vast amounts of data and information, and they can do so in
fractions of a second. Discuss the concept of abstraction and abstract data types on computer programming

Answers

Answer 1

The concept of abstraction and abstract data types on computer programming is given below.

The use of abstraction to manage complexity is crucial. When anything is regarded abstractly, just the salient characteristics are highlighted. It is not necessary to recall or even notice the information that is left out.

What is abstraction?

An abstraction of a data structure that merely provides the interface to which the data structure must conform is referred to as an abstract data type. No precise information about how something should be implemented or in what programming language is provided by the interface.

An object's behavior can be described by a set of values and a set of actions, and this behavior is known as an abstract data type (ADT).  The definition of ADT merely specifies the actions that must be taken, not how they must be carried out.

Therefore, List data structures, stack data structures, and queue data structures are examples of abstract data types in data structures. The abstract data type defines a number of legitimate operations that can be performed on a specific data structure.

Learn more about abstraction  from

https://brainly.com/question/7994244
#SPJ1


Related Questions

After the code that follows is executed, what is the value of discountAmount?
var discountAmount;
var orderTotal = 200;
if (orderTotal > 200) {
discountAmount = orderTotal * .3;
} else if (orderTotal > 100) {
discountAmount = orderTotal * .2;
} else {
discountAmount = orderTotal * .1;
}

Answers

An integer variable is defined and assigned an initial value of [tex]200[/tex].

There is an if-else block in the next part of the code. In the first part, a condition is defined in case the value of the defined variable is greater than [tex]200[/tex]. But since the value of our variable is [tex]200[/tex], we will proceed to the next block.

Since the value of our variable is greater than [tex]100[/tex], we will follow the commands in the second block.

The expression [tex].2[/tex] means multiplying the current number by [tex]0.2[/tex].

Therefore, we will multiply [tex]200[/tex] by [tex]0.2[/tex].

The program output will be therefore as [tex]40[/tex].

QUICK HELP PLEASE DUE IN 10 MIN!

HELP!
What is a central processing unit? Select two options.

the electronic circuitry that receives data and transforms it to human-readable form


the electronic circuitry that stores data and instructions so they can be processed


the electronic circuitry that handles all the instructions it receives from hardware


the electronic circuitry that stores information for immediate use by software


the electronic circuitry that handles all the instructions it receives from software

Answers

It is to be noted that a central processing unit is;

the electronic circuitry that handles all the instructions it receives from hardware; (Option C)the electronic circuitry that handles all the instructions it receives from software. (Option E)

What is the purpose of the central processing unit?

The central processing unit (CPU) directs the computer through the many processes of problem resolution.

Information enters the computer through an input unit, is analyzed by the central processing unit, and then outputs to the user via an output unit.

The CPU executes fundamental arithmetic, logic, controlling, and input/output (I/O) activities provided by program instructions. This is in contrast to external components like main memory and I/O circuits, as well as specialized processors like graphics processing units (GPUs).

Learn more about central processing units:

https://brainly.com/question/4558917

#SPJ1

Answer:

C and E

Explanation:

4. Some programs add extra characters,
called a(n)________, to
a file name.

Answers

Answer:

big letters

Explanation:

in order for the file to be more impacable

The process of preparing a floppy diskette for use is called_____?
A. process

B. data

C. byte

D. bit

Answers

The process of preparing a floppy diskette for use is called Formatting.

What is output if the user types in 7? Click all that apply.

Answers

Based on the code that is given below, the output if the user types in 8 is option C:  C.

What is the line of code about?

The code above is an if statement: A will not be printed since the user had specified x = 8, which does not satisfy the criterion x!= 8 (!= stands for not equal).

Since x must be greater than or equal to 10 in order to satisfy the criterion for "B" to be printed, "B" will not be printed because x does not meet the condition.

Also x is less than 10, the requirement of x10 is satisfied, and "C" will be printed as a result.

Learn more about coding from

https://brainly.com/question/20312196

#SPJ1

See correct question below

x = int (input ("Enter a number: "))

if (x != 8):

print ("A")

if (x >= 10):

print ("B")

if (x < 10):

print ("C")

if (x % 2 == 1):

print ("D")

What is output if the user types in 8? Click all that apply.

A

B

C

D

The given program reads a list of single-word first names and ages (ending with -1), and outputs that list with the age incremented. The program fails and throws an exception if the second input on a line is a string rather than an integer. At FIXME in the code, add try and except blocks to catch the ValueError exception and output 0 for the age.




Ex: If the input is:


Lee 18

Lua 21

Mary Beth 19

Stu 33

-1

then the output is:


Lee 19

Lua 22

Mary 0

Stu 34



# Split input into 2 parts: name and age
parts = input().split()
name = parts[0]
while name != '-1':
# FIXME: The following line will throw ValueError exception.
# Insert try/except blocks to catch the exception.
try:
age = int (parts [ 1 ]) + 1
print('{ }{ }'.format(name, age))
# Get next line
parts = input().split()
name = parts[0]
except ValueError:
print ('Invalid value!')
# Get next line
parts = input().split()
name = parts[0]

Answers

Using the knowledge of computational language in python it is possible to write a code that program reads a list of single-word first names and ages (ending with -1), and outputs that list with the age incremented.

Writting the code:

# Split input into 2 parts: name and age

parts = input().split()

name = parts[0]

while name != '-1':

   # Insert try/except blocks to catch the exception.

   try:

       age = int(parts[1]) + 1

       

       # printing name and age

       print('{} {}'.format(name, age))

   

   except ValueError:

       # printing name and age as 0

       print('{} {}'.format(name, 0))

   

   # Get next line

   parts = input().split()

   name = parts[0]

See more about python at brainly.com/question/18502436

#SPJ1

This is the building which spy uses for information transmission.
He use the opened and closed windows for encoding the secret password. The code he
uses is ASCII. What is the password? HELPPPPP

Answers

Based on the given question that a spy stays in a building and transmits information using the opened and closed windows for encoding the secret password which he uses in ASCII, the password is 01.

Step by step explanations

Step 1

In digital electronics, the information is processed in form of binary data either 0 or 1.

This binary data 0 or 1 is known as Bit. To turn on the switch binary data used is 1 and binary data 0 is used for the turn off.

A byte is a combination of 4 bits. Here only the switch is turned on and turned off. Hence, the system processed the information in terms of the Bit.

What is ASCII?

This refers to the acronym that means American Standard Code for Information Interchange and is a character encoding standard for electronic communication.

Read more about ASCII here:

https://brainly.com/question/13143401

#SPJ1

PLEASE FILL IN THE BLANK

With a bit depth of __ I can support 8 grayscale variations of black and white images.

Answers

Answer:   Thre correct answer is 3 bit

Explanation:

Using binary, a 3-bit value can support 8 variations in grayscale:

1   000

2   001

3   010

4   011

5   100

6   101

7   110

8   111

Please help

Which action is not following the rules of netiquette?
A) Be respectful of human feelings and emotions.
B) Use proper grammar and spelling.
C) Avoid engaging in a negative way.
D) Use acronyms to make typing more efficient.

Answers

An action which does not follow the rules of netiquette is: D) Use acronyms to make typing more efficient.

What is netiquette?

Netiquette is a short terminology for network etiquette or Internet etiquette and it can be defined as the set of behaviors, rules, proper manners, and customs that are considered to be polite (courteous) and should be followed by end users, especially when they are communicating through the use of an email, computer technology, and social media over the Internet.

This ultimately implies that, netiquette simply refers to the acceptable or correct way of using the Internet for respectful, polite (courteous) and appropriate communication.

In this context, we can reasonably infer and logically deduce that making use of acronyms or abbreviations does not follow the rules of netiquette.

Read more on netiquette here: https://brainly.com/question/27372890

#SPJ1

Other Questions
Evaluate lc2 + b21, given a = 5, b=-3, and c= -2. A. 13 B. 6 C. 2 D. 10 The vertices of LMN are L(2, 2), M(5, 3), and N(9, 1). Translate LMN using the vector 2, 6. Which reading is given to one tenth of a millimetre? PLS HELP ASAPThe number of newly reported crime cases in a county in New York State is shown in the accompanying table, where x represents the number of years since 2003, and y represents number of new cases. Write the linear regression equation that represents this set of data, rounding all coefficients to the nearest hundredth. Using this equation, find the projected number of new cases for 2011, rounded to the nearest whole number. (please include work) Find the value of the following expression: (3^82^-59^0)^-2(2^-2/3^3)^43^28 Write your answer in simplified form. Some help I will mark Brain liest The tape diagram represents the ratio of your monthly allowance to your friend's monthly allowance. The monthly allowances total $81. How much is each allowance?You Friend how much money do you and how much dose your friend have . A librarian arranged some books on the shelf using the Dewey decimal system. Choose the group of book numbers that is listed in ascending order.549.010, 549.101, 549.02, 549.3101.2, 101.04, 104.21, 110.0834, 834.19, 834.2, 834.29392.4, 397.46, 399.53, 399.062im too lazy above a salt content of 24.7 g/kg, as the temperature decreases, the ______. determine the number of different ways the given number can be written as the sum of 2 primes? 50 14.37x14.37 rounded by the nearest mile The pentagonal prism below has a cross-sectional area of27 cm and a length of 3 cm.Calculate the volume of the prism.Give your answer in cm. Which statement about the functionf(x) = |x - 3| + 4 is true?A.B.C.D.The minimum value of the function is 4.The domain isx > 3.3The range is all real numbers.The axis of symmetry is atx = -3. SOMEBODY PLS HELP WITH QUESTION 10!! Solving a percent makes your prom using a system of linear equations Predict how these protests, riots, and massacres will impact the workforce after the Gilded Age positive life events that affected mrs breedlove For a normal distribution, it is known that the mean is zero and the standard deviation is 1. Be sure to draw and label a normal distribution for each problem. Find the probability that a z score is between -1.15 and 1.98. what was the acceleration for the whole fall? matthew received a pacemaker to help the arrhythmia he is experiencing with his heart. the pacemaker provides a continual stream of information that is monitored by specialists at the heart clinic and if they notice any indicators of concern, they contact matthew and he reports to the clinic for assessment. what is helping the heart clinic improve the quality of care matthew is receiving