2.2 Programming Fundamentals Knowledge Check

2.2 Programming Fundamentals Knowledge Check

9th - 12th Grade

32 Qs

quiz-placeholder

Similar activities

Final Review - Unit 5

Final Review - Unit 5

9th - 12th Grade

28 Qs

JavaScript

JavaScript

9th - 12th Grade

29 Qs

Key Programming Concepts

Key Programming Concepts

5th - 12th Grade

28 Qs

Q3 Quiz

Q3 Quiz

9th Grade

27 Qs

Programming Fundamentals Review Questions

Programming Fundamentals Review Questions

9th Grade

30 Qs

C# Skill Review

C# Skill Review

12th Grade - Professional Development

32 Qs

GCSE Programming Fundamentals

GCSE Programming Fundamentals

11th Grade

31 Qs

SQL and File Handling Concepts Quiz

SQL and File Handling Concepts Quiz

9th Grade

30 Qs

2.2 Programming Fundamentals Knowledge Check

2.2 Programming Fundamentals Knowledge Check

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Tom Lund

Used 2+ times

FREE Resource

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

.endOfFile() could be used in:
To indicate the end of a line with a formatting delimiter
Conditional loops when writing to a file
Conditional loops when reading from a file
Destructive overwriting of the file’s data

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The following is not a valid file open mode:
Delete
Append
Read
Write

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The following is a correct way to write to a file:
myFile.readLine(variable)
myFile.writeLine(variable)
myFile.AppendAll(variable)
myFile.InsertAll(variable)

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The most appropriate file mode for creating a daily log of entries:
Read
Write
Append
Close

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The following is a valid way to write the contents of a 2D array to a text file:
Concatenate each row to a string with commas and then concatenate all rows with new line characters
Split the text file into an array, copy all elements to this array
Use SQL to convert 2D array to records first

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why would you use good code maintainability when writing a program?
Reduces the number of lines of code
Improves how quickly the program runs
Makes code easier to read and debug
All the options are true

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Variable scope refers to:
Variable data type
Variable identifier
Logic errors associated with a variable
The visibility of variables within a program

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?