GIAC GFACT Exam Review 2024 | Gfact Giac Exam Update Latest 2024 Questions and Correct Answers Rated A+ Low level programming language -ANSWER -a programming language that is closer to how the processor thinks and hardware (machine code), are quite difficult to learn (EX. C) High level programming language -ANSWER -a language wh ere the code you write is more abstract from the machine code that it produces (EX. Python); enables development of a program in a much more user -friendly programming context Version Control System -ANSWER -powerful tools that enable you to track changes t o 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) -ANSWER -the place where a project lives Commit -ANSWER -an incremental change to the repository Origin -ANSWER -the location of the remote repository 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 -the production state of your application. Dev Branch -ANSWER -the testing state of your application, which would be what you test on Pull request (pr) -ANSWER -allow you to review all the code that would be changed in the merge and either approve or reject it. script.py -ANSWER -the filename of the Python program you want to run Variables -ANSWER -a way of storing data in programs; the act of assigning a value where we use the equals (=) operator. String -ANSWER -A series of characters (basically, text); are always surrounded by quotes Integer -ANSWER -A whole number (could be positive or negative) Float -ANSWER -A number with a decimal point Boolean -ANSWER -A True or Fals e value; can be represented as 1 (True) and 0 (False) "Whitespace" -ANSWER -refers to a type of character that doesn't print anything out, but adds some sort of spacing formatting to the output. \n character combination -ANSWER -tell the program where we w ant our line breaks \t character combination -ANSWER -can add tabs to our output lstrip() -ANSWER -can strip whitespace off the left side of a string email = ' jane@email.com ' email.lstrip() Output: "jane@email.com " rstrip() -ANSWER -can strip whitespac e off the right side of a string email = ' jane@email.com ' email.rstrip() Output: " jane@email.com" strip() -ANSWER -strip both sides of a string at the same time email = " jane@email.com " email.strip() Output: "jane@email.com" print() -ANSWER -program will output the result of a string/mathematical operator round() function -ANSWER -it rounds decimal numbers up or down, to a given preferred decimal place Lists -ANSWER -a list of things stored in a particular order (EX. fav_linux_distros = ['Mint', 'Deb ian', 'Ubuntu'] Index of -1 -ANSWER -Python will always return the last item in the list (EX. print(fav_linux_distros[ -1]) ) upper() function -ANSWER -modified an item from our list to appear in all uppercase (EX. top_fav_distro.upper() ) len() function -ANSWER -get a quick count of the things in our list (EX. print(len(fav_linux_distros)) ) sort() function -ANSWER -sorts a list alphabetically (EX. fav_linux_distros = ['Mint', 'Debian', 'Ubuntu', 'Manjaro', 'Fedora', 'Arch'] fav_linux_distros.sort() Outpu t: ['Arch', 'Debian', 'Fedora', 'Manjaro', 'Mint', 'Ubuntu'] ) reverse() funtcion -ANSWER -reverse the order of a list (EX. fav_linux_distros = ['Mint', 'Debian', 'Ubuntu', 'Manjaro', 'Fedora', 'Arch'] fav_linux_distros.reverse() Output: ['Ubuntu', 'Mint' , 'Manjaro', 'Fedora', 'Debian', 'Arch'] ) append() function -ANSWER -allows us to stick items onto the end of a list. (EX. travel_bucket_list.append('Toronto') ) insert() fucntion -ANSWER -add items into an existing list at any position we want (EX. trave l_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 paulynmugo. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $23.59. You're not tied to anything after your purchase.