6 - Asynchronous Programming

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/33

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:15 AM on 5/2/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

34 Terms

1
New cards

Asynchronous

callbacks are used in general

2
New cards

Future class

represents a potential value or error that will be available at some time in the future

3
New cards

Async Await

provides a more linear and readable way to write asynchronous code, reducing the need for nested callbacks or .then() chains

4
New cards

Reading data from a file asynchronously

consider these use cases (1)

5
New cards

Receiving data from the network

consider these use cases (2)

6
New cards

Listening to events from a sensor

consider these use cases (3)

7
New cards

Handling a continuous flow of data

consider these use cases (4)

8
New cards

Stream

continuous

9
New cards

Synchronous

blocking operations while in progress, the program is unresponsive

10
New cards

Asynchronous

non-blocking

11
New cards

Asynchronous

use callbacks, futures, Streams to NOTIFY the programs when they’re finished

12
New cards

Ensures App Quality

importance, correctness and usability leads to better UX

13
New cards

Reduces Bugs

importance, errors

14
New cards

Maintainability

importance, incremental

15
New cards

Unit Testing

types (1)

16
New cards

Widget Testing

types (2)

17
New cards

Integration testing

types (3)

18
New cards

Small, Fast, Isolated

pros of unit (1)

19
New cards

Easy to Write

pros of unit (2)

20
New cards

Early Detection

pros of unit (3)

21
New cards

Limited Scope

cons of unit (1)

22
New cards

Need to Setup

cons of unit (2)

23
New cards

Refactoring

cons of unit (3)

24
New cards

Test UI

pros of widget (1)

25
New cards

Simulate User Interaction

pros of widget (2)

26
New cards

More Comprehensive

pros of widget (3)

27
New cards

Limited Scope

cons of widget (1)

28
New cards

Harder to Write than Unit

cons of widget (2)

29
New cards

Tests the Whole App

pros of integration (1)

30
New cards

Simulates Real World Issues

pros of integration (2)

31
New cards

Highest Confidence

pros of integration (3)

32
New cards

Slowest

cons of integration (1)

33
New cards

Harder to Write

cons of integration (2)

34
New cards

Harder to Debug

cons of integration (3)