Oral Exam - Language Foundations - mini

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

8 Terms

1
New cards

Describe compiled languages

Translated into machine code by a compiler before running (e.g., C++). Fast, platform-specific

2
New cards

Describe interpreted languages

Executed line-by-line by an interpreter (e.g., Python). Slower, portable.

3
New cards

Compare and contrast compiled and interpreted languages

Compiled = faster, must compile first. Interpreted = slower, runs instantly

4
New cards

Compare and contrast input and output

Input brings data into a program; output sends data from the program to a user or file

5
New cards

Describe strong typing

Type safety enforced; conversions must be explicit (e.g., C++, Java)

6
New cards

Describe weak typing

Implicit type conversions allowed (e.g., JavaScript)

7
New cards

Compare and contrast strong and weak typing

Strong typing = safer; Weak typing = flexible but error-prone

8
New cards

Why, in a professional setting, should we not place "using namespace std;" in our code files?

Can cause naming conflicts in large projects; better to use std:: prefix