General Definitions Flashcards

1
Q

Perform operations like assignment, arithmetic, and comparison

A

Basic Operators

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Store and manipulate text

A

Strings and Characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Organize data using arrays, sets, and dictionaries

A

Collection Types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Structure code with branches, loops, and early exits

A

Control Flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Define and call functions, label their arguments, and use their return values

A

Functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Group code that executes together, without creating a named function

A

Closures

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Model custom types that define a list of possible values

A

Enumerations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Model custom types that encapsulate data

A

Structures and Classes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Access stored and computed values that are part of an instance or type

A

Properties

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define and call functions that are part of an instance or type

A

Methods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Access the elements of a collection

A

Subscripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Subclass to add or override functionality

A

Inheritance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Set the initial values for a type’s stored properties and perform one-time setup

A

Initialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Release resources that require custom cleanup

A

Deinitialization

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Access members of an optional value without unwrapping

A

Optional Chaining

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Respond to and recover from errors

A

Error Handling

17
Q

Perform asynchronous operations.

A

Concurrency

18
Q

Use macros to generate code at compile time

A

Macros

19
Q

Determine a value’s runtime type and give it more specific type information

A

Type Casting

20
Q

Define types inside the scope of another type

A

Nested Types

21
Q

Add functionality to an existing type

A

Extensions

22
Q

Define requirements that conforming types must implement

A

Protocols

23
Q

Write code that works for multiple types and specify requirements for those types

A

Generics

24
Q

Hide implementation details about a value’s type

A

Opaque and Boxed Types

25
Q

Model the lifetime of objects and their relationships

A

Automatic Reference Counting

26
Q

Structure your code to avoid conflicts when accessing memory

A

Memory Safety

27
Q

Manage the visibility of code by declaration, file, and module

A

Access Control

28
Q

Define custom operators, perform bitwise operations, and use builder syntax

A

Advanced Operators