Programming Fundamentals Part 2

Programming Fundamentals Part 2

9th - 11th Grade

20 Qs

quiz-placeholder

Similar activities

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Google Docs Basics Quiz

Google Docs Basics Quiz

9th Grade

20 Qs

Advantages and Disadvantages of Collecting Data

Advantages and Disadvantages of Collecting Data

10th Grade

20 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

Aplikasi Perkantoran

Aplikasi Perkantoran

10th Grade

15 Qs

TO PAS AIJ

TO PAS AIJ

11th Grade

20 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

Programming Fundamentals Part 2

Programming Fundamentals Part 2

Assessment

Quiz

Computers

9th - 11th Grade

Practice Problem

Medium

Created by

Tracy Mayhead

Used 29+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the string returned by this code?

phrase = "Character"

phrase.subString(0,4)

"hara"

"cter"

"Cha"

"Char"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be the result of the following query on the this database table?

SELECT Name FROM Students WHERE House = "King" AND Year = "9"

["Ted","King",9,"D"]

"Ted"

"Poppy"

"Sam"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the result of this SQL query on the database table shown?

SELECT * FROM Students WHERE Grade = "C" AND House= "Curie"

"Cher"

["Poppy","King",8,"C"]

"Sam"

["Sam","Curie",7,"C"]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data structure would be suitable for storing a single list of values such as the wind speeds measured over a week?

Table

2-dimensional array

1-dimensional array

Record

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL command is used to view or query a database?

CHOOSE

FIND

SELECT

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To add data to an open file from variables or data structures in memory is what file operation?

Close

Write

Open

Read

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What file operation would this command initiate?

myFile = open("sample.txt")

Open

Read

Close

Write

Append

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?