2.2 Programming Fundamentals Knowledge Check

2.2 Programming Fundamentals Knowledge Check

9th - 12th Grade

32 Qs

quiz-placeholder

Similar activities

CSS g9 2Q 1st Summative

CSS g9 2Q 1st Summative

9th Grade

28 Qs

Pengenalan HTML

Pengenalan HTML

10th Grade

30 Qs

Mantenimiento de dispositivos móbiles - celular

Mantenimiento de dispositivos móbiles - celular

10th Grade - University

27 Qs

Module 24 - Portable Computing 2

Module 24 - Portable Computing 2

9th - 12th Grade

28 Qs

Vamos con PowerPoint 4°

Vamos con PowerPoint 4°

9th Grade

28 Qs

Creative iMedia R081 - Client requirements and Research

Creative iMedia R081 - Client requirements and Research

9th - 11th Grade

30 Qs

Internet y Redes (Parte II) 1º de Bach

Internet y Redes (Parte II) 1º de Bach

12th Grade

29 Qs

Ôn Tập Học Kì I Lớp 4

Ôn Tập Học Kì I Lớp 4

4th Grade - University

35 Qs

2.2 Programming Fundamentals Knowledge Check

2.2 Programming Fundamentals Knowledge Check

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Tom Lund

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?