GCSE Programming Fundamentals

GCSE Programming Fundamentals

11th Grade

31 Qs

quiz-placeholder

Similar activities

MSS Big Byte Of C

MSS Big Byte Of C

11th Grade - Professional Development

30 Qs

Python Quiz JC1

Python Quiz JC1

11th Grade

31 Qs

JavaScript Scope, Arrays, Loops, and Iterators

JavaScript Scope, Arrays, Loops, and Iterators

9th - 12th Grade

30 Qs

Java Basics

Java Basics

11th - 12th Grade

35 Qs

For and While Loops

For and While Loops

9th - 12th Grade

28 Qs

Python - Introduction

Python - Introduction

11th - 12th Grade

26 Qs

Coding Arrays

Coding Arrays

9th - 12th Grade

27 Qs

Python new

Python new

3rd Grade - University

26 Qs

GCSE Programming Fundamentals

GCSE Programming Fundamentals

Assessment

Quiz

Computers

11th Grade

Hard

Created by

Tom Lund

Used 4+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

.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 • 5 pts

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

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

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 • 5 pts

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

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

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 of these options are true

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

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

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

The advantages of parameter passing don’t include this:
The same subprogram can be reused in more cases
Makes it easier to use global variables
More flexible coding
Can cut down on the use of wasteful global variables

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?