CSCI 202 Final

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:47 AM on 5/13/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

16 Terms

1
New cards

Which time complexity represents binary search?

O(n²)

O(log n)

O(n)

O(1)

O(log n)

2
New cards

Which python data structure is immutable?

List

Dictionary

Tuple

Set

Tuple

3
New cards

Which data structure stores key value pairs?

List

Tuple

Dictionary

Array

Dictionary

4
New cards

Which sorting algorithm repeatedly swaps adjacent elements?

Merge sort

Bubble sort

Linear search

Selection search

Bubble sort

5
New cards

Which searching algorithm requires sorted data?

Linear search

Sequential search

Binary search

Hash search

Binary search

6
New cards

Which time complexity belongs to bubble sort?

O(log n)

O(1)

O(n²)

O(n)

O(n²)

7
New cards

Which AI reasoning type uses rules to arrive at conclusions

Induction

Abduction

Deduction

Random guessing

Deduction

8
New cards

Which python library is mainly used for numerical computations

Pandas

matplotlib

numpy

tkinter

numpy

9
New cards

Which AI model learns using rewards and penalties

Regression

Reinforcement learning

Clustering

Semantic network

Reinforcement learning

10
New cards

Which pandas structure represents a 2D table?

Series

Tuple

Dataframe

Dictionary

Dataframe

11
New cards

Explain tuples in python

An ordered collection of elements enclosed in parentheses. Tuples are immutable, their values cannot be changed after creation

12
New cards

Properties of tuples with an example

Immutable-cannot modify elements

Ordered-elements maintain sequence

Allows duplicate values

Can store different data types

student = (“connor”, 20, “IT”)

print(student)

13
New cards

Explain dictionaries in python with an example

A python data structure that stores data in key value pairs using curly braces {}

student = {

“name”: “Connor”,

“age”: 20,

“major”: “IT”

}

print(student[“name”]}

14
New cards

Explain keys, values, and accessing elements

Unique identifiers (name, age, major

Values: actual stored data (Connor, 20, IT)

Accessing elements: print(student[“age”])

15
New cards

Explain NumPy

A python library used for numerical computations and mathematical operations with arrays

import numpy as np

arr = np.arry([1,2,3,4])

print(arr)

16
New cards

Explain pandas library

A python library used for data anlysis and handling tables/dataframes

import pandas as pd

data = {

“name”: [“connor”, “joseph”]

“age”: [20,21]

}