SLR4 | Data Structures with C# Examples

Quiz
•
Computers
•
11th Grade
•
Medium
H Malaney
Used 5+ times
FREE Resource
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a linear data structure?
Tree
Graph
Array
Hash Table
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary difference between records and tuples in data structures?
Records are immutable, while tuples are mutable.
Records have named fields, while tuples do not.
Tuples are always larger than records.
Records can only store integers.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about arrays and lists?
Arrays can store elements of different data types, while lists cannot.
Lists are fixed in size, while arrays are dynamic.
Arrays have a fixed size, while lists can grow and shrink.
Lists are always faster than arrays.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in reading a text file in C#?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a common binary file format?
.txt
.csv
.jpg
.html
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation is used to add an element to a list in C#?
.Insert()
.Add()
.Remove()
.Pop()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a characteristic of a tuple in C#?
Tuples are mutable.
Tuples can be used as keys in dictionaries.
Tuples can only contain strings.
Tuples are always sorted.
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Algorithms & Pseudocode

Quiz
•
11th - 12th Grade
20 questions
IP- Data Verification/Validation and File Organization

Quiz
•
11th Grade
15 questions
Python Casting and Input

Quiz
•
8th - 11th Grade
15 questions
Computer Science Review

Quiz
•
10th - 12th Grade
15 questions
Kuizi 15 - Web

Quiz
•
10th Grade - University
16 questions
CSP Summative Binary Numbers

Quiz
•
9th - 12th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
15 questions
Unit 8 - Searching and Sorting

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade