graphics_name,topic,id,question,choice1,choice2,choice3,choice4,solution computerscience_2001,Computer Science,2001,"COMPUTER SCIENCE: Consider the following code segment. After the code runs, what value is stored in result?",11,5,3,8,5 computerscience_2002,Computer Science,2002,COMPUTER SCIENCE: What is the data type of phone from the code snippet?,integer,float,string,boolean,string None,Computer Science,2004,COMPUTER SCIENCE: In what way is multi-factor authentication (MFA) more secure than a password?,MFA adds an additional level of security for an attacker to break through.,MFA encrypts the user authentication data during the login process.,MFA ensures that users are using a very strong password.,MFA prevents the user from logging in over a rogue access point.,MFA adds an additional level of security for an attacker to break through. None,Computer Science,2007,"COMPUTER SCIENCE: Many applicant tracking systems use algorithms to automatically rank résumés, to help recruiters sift through large quantities of résumés. Which of these algorithms would require access to a large database of résumés?",An algorithm that awards a higher score to résumés whose words overlap with words in the job description.,An algorithm that ranks résumés based on similarity to résumés from already hired applicants.,An algorithm that computes a score based on the length of the résumé and the average length of the words.,An algorithm that parses the job history section of the résumé and awards a higher score to candidates that have worked more jobs.,An algorithm that ranks résumés based on similarity to résumés from already hired applicants. None,Computer Science,2012,COMPUTER SCIENCE: What is the purpose of an if/else statement?,It tells the computer which chunk of code to run if the instructions you coded are incorrect.,"It runs one chunk of code if all the imports were successful, and another chunk of code if the imports were not successful.","It executes one chunk of code if a condition is true, but a different chunk of code if the condition is false.","It tells the computer which chunk of code to run if the is enough memory to handle it, and which chunk of code to run if there is not enough memory to handle it.","It executes one chunk of code if a condition is true, but a different chunk of code if the condition is false." None,Computer Science,2013,COMPUTER SCIENCE: What is the term used to describe items that may be passed into a function?,arguments,paradigms,attributes,decorators,arguments None,Computer Science,2014,COMPUTER SCIENCE: When does a for loop stop iterating?,when it encounters an infinite loop,when it encounters an if/else statement that contains a break keyword,when it has assessed each item in the iterable it is working on or a break keyword is encountered,when the runtime for the loop exceeds O(n^2),when it has assessed each item in the iterable it is working on or a break keyword is encountered None,Computer Science,2019,COMPUTER SCIENCE: What symbol(s) do you use to assess equality between two elements?,&&,=,==,||,== None,Computer Science,2020,COMPUTER SCIENCE: What value would be returned by this check for equality?: 5 != 6,Error,TRUE,FALSE,None,TRUE None,Computer Science,2022,COMPUTER SCIENCE: When would you use a for loop?,"Only in some situations, as loops are used only for certain type of programming.",When you need to check every element in an iterable of known length.,When you want to minimize the use of strings in your code.,When you want to run code in one file for a function in another file.,When you need to check every element in an iterable of known length. None,Computer Science,2030,COMPUTER SCIENCE: What will happen if you use a while loop and forget to include logic that eventually causes the while loop to stop?,Nothing will happen; your computer knows when to stop running the code in the while loop.,You will get a KeyError.,Your code will get stuck in an infinite loop.,You will get a WhileLoopError.,Your code will get stuck in an infinite loop. None,Computer Science,2031,COMPUTER SCIENCE: When would you use a while loop?,when you want to minimize the use of strings in your code,when you want to run code in one file while code in another file is also running,when you want some code to continue running as long as some condition is true,when you need to run two or more chunks of code at once within the same file,when you want some code to continue running as long as some condition is true None,Computer Science,2035,COMPUTER SCIENCE: Which choice is an immutable data type?,dictionary,list,set,string,string None,Computer Science,2037,COMPUTER SCIENCE: What is conditional probability?,"The probability of something, given that something else happened.",The probability that certain conditions are met,"The probability that, based on certain conditions, something will always be incorrect",The probability of something being the correct answer,"The probability of something, given that something else happened." None,Computer Science,2038,COMPUTER SCIENCE: What is the difference between unstructured and structured data?,Unstructured data is always text.,Unstructured data is much easier to store.,Structured data has clearly defined data types.,Sturctured data is much more popular.,Structured data has clearly defined data types. computerscience_2046,Computer Science,2046,"COMPUTER SCIENCE: Consider the code segment. If the variables onTime and absent both have the value false, what is displayed as a result of running the code segment?",Is anyone there?,Better late than never.,Hello. Is anyone there?,Hello. Better late than never.,Better late than never. None,Computer Science,2049,"COMPUTER SCIENCE: According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?",about.example.com ,example.co.uk,example.com.org,example.org,about.example.com computerscience_2052,Computer Science,2052,"COMPUTER SCIENCE: The table shows the time a computer system takes to complete a specified task on the customer data of different-sized companies. Based on the information in the table, which of the following tasks is likely to take the longest amount of time when scaled up for a very large company of approximately 100,000 customers?",Backing up data,Deleting entries from data,Searching through data,Sorting data,Sorting data None,Computer Science,2053,"COMPUTER SCIENCE: Among a set of machine learning supervised learning algorithms, the best one is generally the one with the _____.",greatest predictive accuracy over training data,greatest predictive accuracy over testing data,highest false positive rate,most complex design,greatest predictive accuracy over testing data None,Computer Science,2056,COMPUTER SCIENCE: What is the difference between malware and a software bug?,Malware is designed to intentionally inflict damage on a computer; a software bug is an accident.,"Malware is only in code that is sent over the Internet, while bugs can happen in any software.",A piece of malware has a huge impact; a software bug only affects a few users.,"Malware is a part of computer hardware, not a part of computer software.",Malware is designed to intentionally inflict damage on a computer; a software bug is an accident.