Package deal
Programming Fundamentals
Programming Fundamentals
[Show more]Programming Fundamentals
[Show more]Programming Test 1 
The preprocessor directive #include copies the file iostream into the program before 
compilation, so that the program can use cin and cout and operators. - ANSWER-true 
The math function tan will compute tangent when the angle is given in radians. - 
ANSWER-true 
Example of inte...
Preview 2 out of 14 pages
Add to cartProgramming Test 1 
The preprocessor directive #include copies the file iostream into the program before 
compilation, so that the program can use cin and cout and operators. - ANSWER-true 
The math function tan will compute tangent when the angle is given in radians. - 
ANSWER-true 
Example of inte...
AQA A-Level computer science 03 / 
Fundamentals of Algorithms 
bubble sort - ANSWER-Compares each pair of elements in the array and swaps them if 
necessary. 
O(N^2) because it passes through the array N times. Since each pass through the array 
is N operations, this is N times N operations = N^2 op...
Preview 1 out of 4 pages
Add to cartAQA A-Level computer science 03 / 
Fundamentals of Algorithms 
bubble sort - ANSWER-Compares each pair of elements in the array and swaps them if 
necessary. 
O(N^2) because it passes through the array N times. Since each pass through the array 
is N operations, this is N times N operations = N^2 op...
Dynamic Programming 
What is dynamic programming and how does it work at a high level? 
Dynamic programming is simply an optimization over plain recursion. Whenever we see 
a recursive solution for the same inputs, we can optimize it using Dynamic 
programming. The main idea is to simply store the r...
Preview 1 out of 4 pages
Add to cartDynamic Programming 
What is dynamic programming and how does it work at a high level? 
Dynamic programming is simply an optimization over plain recursion. Whenever we see 
a recursive solution for the same inputs, we can optimize it using Dynamic 
programming. The main idea is to simply store the r...
Statistical Programming Final Study Set 
What is an error that prevents the creation of an executable version of a 
program? - ANSWER-Compile-time error 
Which of the following statements is best used for traversing a list in Python? - 
ANSWER-for 
What term is used for a special identifier with a p...
Preview 2 out of 6 pages
Add to cartStatistical Programming Final Study Set 
What is an error that prevents the creation of an executable version of a 
program? - ANSWER-Compile-time error 
Which of the following statements is best used for traversing a list in Python? - 
ANSWER-for 
What term is used for a special identifier with a p...
Programming Fundamentals 
Which of the following statements is best used for selection in Python? - 
ANSWER-if 
What is syntax in a programming language? - ANSWER-Syntax specifies rules 
for how symbols, reserved words, and identifiers are put together to make a valid 
statement. 
What term is used ...
Preview 1 out of 4 pages
Add to cartProgramming Fundamentals 
Which of the following statements is best used for selection in Python? - 
ANSWER-if 
What is syntax in a programming language? - ANSWER-Syntax specifies rules 
for how symbols, reserved words, and identifiers are put together to make a valid 
statement. 
What term is used ...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through credit card for the summaries. There is no membership needed.
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Stuvia is a marketplace, so you are not buying this document from us, but from seller Hkane. Stuvia facilitates payment to the seller.
No, you only buy these notes for £13.08. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
75323 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now