Datasets:

Languages:
English
ArXiv:
License:
cindermond's picture
Upload 334 files
e65b775 verified
{"question": "Which of the following is an example of the use of a device on the Internet of Things (IoT) ?", "options": ["A car alerts a driver that it is about to hit an object.", "A hiker uses a G P S watch to keep track of her position.", "A refrigerator orders milk from an online delivery service when the milk in the refrigerator is almost gone.", "A runner uses a watch with optical sensors to monitor his heart rate."], "answer": "C"}
{"question": "Many Web browsers allow users to open anonymous windows. During a browsing session in an anonymous window, the browser does not record a browsing history or a list of downloaded files. When the anonymous window is exited, cookies created during the session are deleted. Which of the following statements about browsing sessions in an anonymous window is true?", "options": ["The activities of a user browsing in an anonymous window will not be visible to people who monitor the user's network, such as the system administrator.", "Items placed in a Web store's shopping cart for future purchase during the anonymous browsing session will not be saved on the user's computer.", "A user will not be able to log in to e-mail or social media accounts during the anonymous browsing session.", "A user browsing in an anonymous window will be protected from viruses launched from any web sites visited or files downloaded."], "answer": "B"}
{"question": "What is the output of \"abc\"[::-1] in Python 3?", "options": ["Error", "abc", "cba", "c"], "answer": "C"}
{"question": "In the program below, the initial value of x is 5 and the initial value of y is 10.\n IF (X < O)\n {\n DISPLAY (\"Foxtrot\")\n }\n ELSE\n {\n IF (X > y)\n {\n DISPLAY (\"Hotel\")\n }\n ELSE \n {\n IF (y > O)\n {\n DISPLAY (\"November\")\n }\n ELSE\n {\n DISPLAY (\"Yankee\")\n }\n }\n }\n \n What is displayed as a result of running the program?", "options": ["Foxtrot", "Hotel", "November", "Yankee"], "answer": "C"}
{"question": "A list of numbers has n elements, indexed from 1 to n. The following algorithm is intended to display the number of elements in the list that have a value greater than 100. The algorithm uses the variables count and position. Steps 3 and 4 are missing.\n Step 1: Set count to 0 and position to 1.\n Step 2: If the value of the element at index position is greater\n than 100, increase the value of count by 1.\n Step 3: (missing step)\n Step 4: (missing step)\n Step 5: Display the value of count.\n Which of the following could be used to replace steps 3 and 4 so that the algorithm works as intended?", "options": ["Step 3: Increase the value of position by 1.\n Step 4: Repeat steps 2 and 3 until the value of count is greater than 100.", "Step 3: Increase the value of position by 1.\n Step 4: Repeat steps 2 and 3 until t he value of position is greater than n.", "Step 3: Repeat step 2 until the value of count is greater than 100.\n Step 4: Increase the value of position by 1.", "Step 3: Repeat step 2 until the value of position is greater than n.\n Step 4: Increase the value of count by 1."], "answer": "D"}