C949 WGU EXAM QUESTIONS WITH 100% CORRECT ANSWER ALREADY GRADED A+
Python interpreter an application that can be used on various operating systems, including Microsoft Windows, Linux, and MacOS to run Python scripts and applications 4 the standard number of spaces to indent code that belongs to a code block in Python interactive interpreter a program that allows the user to execute one line of code at a time. Prompt for Python = ">>>" end='' code used in a Python print statement to keep the cursor on the same line so that the next print statement is included on the current line. print('Hello', ______ ) bytecode a low-level operation, such as adding, subtracting or loading from memory. input() code statement in Python that sets the program to wait for key presses and the enter to accept a user value into the program # character that defines a single line comment in Python 3 the number of leading and trailing quotation marks that sets a multi-line string or comment within a function or program in Python len() code statement in Python that returns how long a string or other objects of sequence type are names in Python, and based on the PEP8 standard, variable or object _____ have the following traits: - case sensitive - must start with a letter and underscore is considered a letter - is a sequence of letters (a-z, A-Z, _) and digits (0-9) - in best practice, these start with a lowercase letter + Python addition operator, also used for concatenation - Python subtraction operator * Python multiplication operator / Python division operator // Python floored division operator % Python modulo (remainder) operator ** Python exponentiation operator Syntax Error In general programming, the program contains invalid code that can not be understood Indentation Error In certain programming languages like Python, the lines of the program are not properly aligned Value Error In Python, an invalid _____ is used - such as giving letters to int() Name Error In Python, the program tries to use a variable that does not exist Type Error In certain programming languages like Python, an operation uses an incorrect value or ____, such as adding an integer to a string record Data structure that stores sub-items, often called fields, with a name associated with each sub-item. Rows in a table are often called by this name array Data structure that stores an ordered list of items where each item is directly accessible by a positional index linked list Data structure that stores an ordered list of items in nodes where each node stores data and has a pointer to the next node binary tree Data structure in which each node stores data and has up to two children, known as left child and right child hash table Data structure that stores unordered items by mapping each item to a location in an array usually using a function or calculation heap Data structure that is like a tree in that there are parents and children nodes, but can be a max where the parents key is always greater than the children's keys and the top-most node is the largest, or can be a min where the parents key is always smaller than the children's keys and the top-most node is the smallest graph Data structure for representing connections among items and consists of vertices connected by edges. vertex An item in a graph edge Represents a connection between two vertices in a graph abstract data type What does ADT stand for ADT This creates a standard interface for the programmer to interact with an object where the programmer does not need to understand how to work with the underlying object as long as they can go through the interface to add, remove, or update list An ADT for holding ordered data, could have an array as the underlying data structure stack An ADT in which items are only inserted on or removed from the top of the _____, a linked list queue An ADT in which items are inserted at the end and removed from the front, linked list deque An ADT queue that can be inserted and removed from both the front and the end, doubly linked list bag An ADT for storing items in which the order does not matter and duplicate items are allowed, array or linked list set An ADT for a collection of distinct items, binary search tree or hash table priority queue An ADT where each item has a ________ and items with a higher order are closer to the front and items with a lower order are closer to the end, heap dictionary An ADT that associates (or maps) keys with values, hash table or binary search tree append Python code statement that adds a value to an ADT list
Written for
- Institution
-
123 University
- Course
-
WGU 949
Document information
- Uploaded on
- October 13, 2023
- Number of pages
- 12
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
Also available in package deal