CSCI 62 Quiz 2 Review

0.0(0)
studied byStudied by 36 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/50

flashcard set

Earn XP

Description and Tags

Topics include: Qt , Git , Software Development Lifecycle, and Data Science and Machine Learning

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

51 Terms

1
New cards

QMainWindow (class)

Class that your main window class inherits from that provides a framework to connect your backend .cpp file to your frontend .ui file

2
New cards

QWidget (class)

Class all widgets in Qt inherit from that gives them all common methods and fields. Allows for polymorphism.

3
New cards

ui (field)

Pointer to a list of pointers to the widgets in your UI

4
New cards

Connect (method)

Used to connect a slot to a signal by taking in the widget, signal for the widget, this, and the slot function.

5
New cards

Slots

Functions you make to respond to a signal

6
New cards

Signals

A trigger that is activated when an event happens (such as &QPushButton::clicked or &QTableWidget::cellClicked)

7
New cards

Working file/modified file

A file that has been modified from the last commit but not yet been staged or saved

8
New cards

Staging file

Getting a file ready to be committed but not yet committed. Done after a file is modified.

9
New cards

Committed file

Changes are saved to the git branch you’re working on

10
New cards

git add <fileName>

Moves fileName to staging status

11
New cards

git commit -m “description”

Commits all changes made by files currently in staging status, leaves message of description to describe the commit

12
New cards

git log

Lists past commits of your code

13
New cards

git status

Gives status of files you have in your branch

14
New cards

Untracked file

File that has never been committed

15
New cards

.gitignore

File that holds every file to ignore when committing

16
New cards

git diff

Shows differences between current files and most recently committed version

17
New cards

git commit -a -m ”description”

Stages and commits all working files and staging files.

18
New cards

git branch <branchName>

Creates new branch named branchName

19
New cards

git checkout <branch> / git switch <branch>

Switches to specified branch

20
New cards

git merge -m “description” <branch>

Merges specified branch with main and includes specified description.

21
New cards

<<<<<<< HEAD

edits in main branch

=======

edits in branchname branch

>>>>>>> branchname

File format for a merge conflict, delete <<<<<<<HEAD, =====, and >>>>>>>mybranch and choose whichever edit you want to keep,

22
New cards

git branch -d <branch>

Delete specified branch

23
New cards

Interviews

Start with a general overview question and ask follow up questions to understand actions, frustrations, skill level, variations in users, and goals. Try to understand the issue, don’t directly ask if they want an app that does X.

24
New cards

Personas

Task focused biography of the user we are designing for, a generic user that acts as a representation of our desired user base. Describes current behaviour

25
New cards

Scenarios

Describes the interactions between the persona and the system. Both the functional behaviour of the system (what it does and not how) and the goal driven behaviour of the persona.

26
New cards

User Requirements

High level overview of what our system should do, obtained from scenarios

27
New cards

System Requirements

Detailed description of system’s functions, services, and operational constraints. Obtained from user requirements and more specific.

28
New cards

Minimum Viable Product

Smallest version of the system that delivers value, subset of the requirements that we implement first. Designed in a way that it can be integrated and built into a full product.

29
New cards
<p>Class Diagram Arrow</p>

Class Diagram Arrow

Shows that a class inherits from the class the arrow is pointing towards (Checking and Savings inherit from Account)

<p>Shows that a class inherits from the class the arrow is pointing towards (Checking and Savings inherit from Account)</p>
30
New cards
<p>Class Diagram Multiplicity</p>

Class Diagram Multiplicity

Shows how many objects can be associated with that relationship (number is towards the class it applies to) (ex from diagram, each account only has one customer) (#..* shows that it can be # or more)

<p>Shows how many objects can be associated with that relationship (number is towards the class it applies to) (ex from diagram, each account only has one customer) (#..* shows that it can be # or more)</p>
31
New cards

Model-View-Controller Architecture

Has a model (backend .cpp file) and a view (frontend .ui file in qt) that are connected through a controller (mainwindow.cpp in qt).

32
New cards

Data Science Pipeline

Collection, processing, exploration/visualization, analysis/machine learning, insight

33
New cards

Data Processing

Putting the raw data you collected into a format that is good for data science. Normalizing values, removing outliers, handling null values, etc.

34
New cards

AI

General ability of computers to emulate human thought

35
New cards

Data Science

Application of computational, statistical, and visualization techniques to extract and interpret knowledge from large amounts of data.

36
New cards

Machine Learning

Science of getting computers to realize a task without being explicitly programmed.

37
New cards

Supervised Learning

Give model input/output pairs to find patterns in

38
New cards

Unsupervised Learning

Give inputs only, model has to find a structure within them to classify them by/predict future values for

39
New cards

Classification

Separate data into predefined groups. Predicting a discrete-valued quantity. Can be binary (assign it 0 or 1/ true or false) or multiclass (assign it 1, 2, 3, …, k).

40
New cards

Regression

Predicting a continuous variable. Provide a predicted output when given a new input (what will the weather be tomorrow or what should this house cost if it is this size?)

41
New cards

Training data

Data we feed the model to learn from, in supervised learning this will include both input/outputs and for unsupervised learning it will be just inputs

42
New cards

Test data

Data we know the true values of that we feed to the model to evaluate how accurate its predictions are compared to our true values.

43
New cards

Confusion Matrix

Describes performance of a classification model by showing a table of true positive, false positive, true negative, and false negative values for the test data.

44
New cards

False Negative

A value that is actually true that the model classifies as false

45
New cards

False postive

A value that is actually false that the model classifies as true.

46
New cards

Accuracy

Ratio of correctly predicted observations to total observations. How many predictions did the model get right?

47
New cards

Precision

Ratio of correct predictions for either T/F to all predictions of either T/F. (Correct T/All predicted T or correct F/all predicted F).

<p>Ratio of correct predictions for either T/F to all predictions of either T/F. (Correct T/All predicted T or correct F/all predicted F). </p>
48
New cards

Recall

Ratio of correct predictions either T/F to all real T/F values. (TP/(TP+FN) or (FP/(FP+TN))

<p>Ratio of correct predictions either T/F to all real T/F values. (TP/(TP+FN) or (FP/(FP+TN))</p>
49
New cards

F1 Score

Weighted average of precision and recall. F1>0.9 is excellent, 0.8-0.9 is good, and 0.5-0.8 is average.

<p>Weighted average of precision and recall. F1&gt;0.9 is excellent, 0.8-0.9 is good, and 0.5-0.8 is average.</p>
50
New cards

Linear separator

Divides data with a line, above the line is one class below the line is a different class.

51
New cards

Decision Tree

More granular method of classifying data. Looks at one variable at a time and asks a question to classify the instance.