返回卡包市场

Programming Techniques and Abstraction

暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。

卡片总数: 8内容版本: v4公开卡包更新时间: 8/1/2026

卡片预览 (8 张)

#1
正面 (问题)

What is Assembly Language

背面 (解答)

Assembly language is the next level up from machine code and is part of a family of low level languages

#2
正面 (问题)

Describe the Little Man Computer Mnemonics

背面 (解答)

卡片背面图片
#3
正面 (问题)

What are the 3 Basic Constructs

背面 (解答)

• Sequencing - the computer will run your code in order, one line at a time • Selection - the computer will only run some lines of code if a condition is met otherwise the computer ignores the lines (if statements) • Iteration - the computer will run some lines of code several times (loops)

#4
正面 (问题)

How do you know if a code is Procedure or Function

背面 (解答)

• Procedure if no output (e.g public static void) • Function if there is an output (e.g public static int)

#5
正面 (问题)

What is Abstraction

背面 (解答)

The process of removing unnecessary details to arrive at a representation of a problem that consists of only the key features

#6
正面 (问题)

What are the different types of abstraction

背面 (解答)

Representational abstraction - looking at what is relevant to a given scenario and simplifying a problem based on this information Abstraction by generalisation - grouping together similarities within a problem, this allows certain problems to be categorised and a common solution can be found Data abstraction - when details about how data is being stored are hidden. Therefore programmers can make use of abstract data structures such as stacks and queues without having to know themselves how these structures are used

#7
正面 (问题)

Why is abstraction needed

背面 (解答)

• Allows non-experts to hide information that is too complex or irrelevant to the system’s purpose • Enables for a more efficient design during software development which reduces the time spent on the project and prevents the program from getting unnecessarily large

#8
正面 (问题)

Describe the four layers of the TCP/IP stack

背面 (解答)

• Application Layer – allows access to network resources • Transport Layer – provides reliable process to process message delivery and error delivery • Network Layer – moves packets from source to destination and provides internetworking • Link Layer – responsible for the transmission between two devices on the same network