
PCAP Module 4 Review
Authored by Dr Sonia Mitchell
Computers
9th - 12th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the expected output of the following code?
2019/11/27 11:27:22
19/November/27 11:27:22
2019/Nov/27 11:27:22
none of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code: Which snippet would you insert in order for the program to output the following result (tuple):
(1, 4, 27)
foo = list(map (lambda x: x*x, my_list))
foo = tuple(map (lambda x: x*x, my_list))
foo = tuple(map(lambda x: x**x, my_list))
none of the answers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the code: which snippet would you insert in order for the program to output the following result (list):
[2, 3, 4, 5, 6]
foo = list (filter (lambda x: x-0 and x-1, my_tuple))
foo = list (filter (lambda x: x==0 and x==1, my_tuple))
foo = tuple (filter (lambda x: x-0 and x-1, my_tuple))
none of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What key word would you use to define an anonymous function?
afun
def
yield
lambda
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the expected output of the following code?
[ ]
[ 'large' , 'small', 'medium', ]
[ '.', 'large' , 'small', 'medium', ]
none of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which program will produce the following output?
import calendar
print (calendar.weejheader (3))
import calendar
print (calendar.weekheader ())
import calendar
print (calendar.weekheader (2))
none of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the expected result of executing the following code?
It will print an empty line
It will print ace
It will print bdf
It will print abcdef
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
prep1-revision
Quiz
•
7th Grade
10 questions
Grade 2- PA1
Quiz
•
2nd Grade
10 questions
latihan soal urain
Quiz
•
8th Grade
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
10 questions
Design Graphic Week 1
Quiz
•
7th Grade
14 questions
TCP/IP & other protocols [A Level]
Quiz
•
12th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade
60 questions
MOS Word Home, Insert, Reference Ribbon Basics
Quiz
•
9th Grade