GIAC GFACT Exam Review Book 2 Questions And
100% Correct Answers
Low-level programming language: A programming language that, in the way a
processor thinks and hardware (machine code) are quite difficult to learn. EX. C
High-level programming language: A language through which the code you write is
more abstract from the machine code which it produces. EX. Python; allows for
development of a program in a much more user-friendly programming context.
Version Control System powerful tools that enable you to track changes to
programming projects; enable you to look back at your code at any point in time in the
past, collaborate with other developers and merge the work of many into a working
product
Repository (Repo) the place where a project lives
Commit an incremental change to the repository
Origin - Answer where the remote repository is located
Master - Answer the name of the default branch in the git repository
Branches - Answer in Git allow you to work on specific features independently, without
touching the code in master
Types:
*The master branch
,*The dev branch
Master Branch - Answer your application's production state .
Dev Branch - Answer is where your application goes to test on
Pull request - pr: This allows you to review all the code that would change in the merge
and then allows you to approve or reject it.
script.py: The filename of the Python program you wish to run
Variables: A means of storing data in programs. In simple terms, a variable is an act of
assigning a value whereby we use the equals (=) operator.
String - Response A sequence of characters (in other words, text); are always enclosed
in quotation marks
Integer - Response An Integers (can be negative or positive)
Float - Response A number with a decimal place
Boolean - Response A Yes or No value; may be expressed using 1 (Yes) and 0(No)
"Whitespace" - for this question, whitespace is a type of character that creates spacing
without printing out anything.
character combo- tell the program where we would like our line breaks
\t character combo- just use these to add tabs to your output
,lstrip()- This will strip whitespace off the left side of a string
email = ' jane@email.com '
email.lstrip()
Output: "jane@email.com "
rstrip() removes whitespace of the right side of a string
email = ' jane@email.com '
email.rstrip()
Output: " jane@email.com"
strip() removes both sides of a string simultaneously
email = " jane@email.com "
email.strip()
Output: "jane@email.com"
print() makes the program output the result of a string/mathematical operator
round() function returns it rounds decimal numbers up or down, to a given preferred
decimal place
Lists - Answer a list of things stored in a particular order
append() function- Answer allows us to stick items onto the end of a list.
(EX. travel_bucket_list.append('Toronto') )
Insert() Fucntion- Answer will add items into an existing list at any position we want
EX. travel_bucket_list.insert(0, 'New York')
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
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!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
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.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Stetson. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.99. You're not tied to anything after your purchase.