Prism - AI Driven, Full Stack Digital Learning Experience Platform
Prism - AI Driven, Full Stack Digital Learning Experience Platform
Courses
557 hrs 56 mins 35 sec 16 2 154 51
Questions
Sessionsattempted Time Spent in Learning Assessments
6 mins taken attemptedQuestionsAssignment
score completed Hands on exercise ILT
Assessments
Skills Proficiency Skills Overview
Bookmarks
Skills Assets Progress (%)
d l dl
Course Sub-skills scores Course Average score
Assessment Name No Of Questions Total Score Best Score Average Of Attempts Att
Objects
Detail Report
Dashboard
Courses
Alex must write a computer program. Should he choose to write the program in Basics of Computer Program… 1/1
machine code directly or use a language like Java or Python?
Sessions
Machine Code
Assessments
A language like Java or Python
Bookmarks
Neither, use Bytecode
Social learning
None of the listed
Discussion
Messenger
Reason
As humans, we are most comfortable writing computer programs using high-level languages such as Java, Python, C++, and others. Hence, Alex will find it
most optimal to use a high-level language to write his program.
Which of these gadgets/devices can you program currently? (Select all that apply) Basics of Computer Program… 1/1
Dish washers
Refrigerators
Toasters
Light bulbs
Reason
With modern Internet of Things (IoT) devices, you can program and customize the working of several appliances and devices including dishwashers,
refrigerators, light bulbs or smart bulbs, and smart toasters like the Revolution InstaGLO R180 toaster from Revolution Cooking.
Analyze the recipe shown below for making a cucumber sandwich. Would this Basics of Computer Program… 1/1
recipe work correctly?
Reason
This recipe would not work because steps 3 and 6 are out of place. You would end up serving buttered slices of bread without putting the cucumber slices in.
Likewise, freshly crushed pepper and salt should be added before covering the sandwich with the second slice. In programming and with recipes, the order of
steps is critically important.
Is C++ an interpreted or compiled language? Basics of Computer Program… 2/2
A compiled language
An interpreted language
Dashboard
Courses
Reason
C++ is a compiled language, meaning the C++ source code is compiled to an executable before it reaches the end user.
Sessions
Assessments
JavaScript code is compiled ‘ahead-of-time’. Is this statement true or false? Basics of Computer Program… 2/2
Bookmarks
True
Social learning
False
Discussion
Messenger
Reason
JavaScript is executed using an interpreter and is compiled and executed during runtime.
Reason
Bytecode is an intermediate-level code that is highly optimized. With interpreted languages, this is often the first stage of compilation during runtime. With
languages like Java, the bytecode edition is created ahead-of-time and is distributed to the users.
What does Java use to execute bytecode? Basics of Computer Program… 3/3
Java Applets
Reason
Java source code is compiled ahead-of-time to bytecode. This optimized edition is then executed at the user end using the Java Virtual Machine (JVM).
Case sensitivity refers to the use of curly braces to define code blocks. Is this Syntax and Source Code 1/1
statement true or false?
True
False
Reason
Case sensitivity refers to programming languages being specific about the case used to express syntax. This means that you cannot arbitrarily set case when
writing computer programs.
Dashboard
The process of analyzing code by the lexer is known as ______________. Syntax and Source Code 2/2
Courses
Lexical parsing
Sessions
Lexical compilation
Assessments
Lexical structuring
Bookmarks
Lexical analysis
Social learning
Discussion
Reason
Lexical analysis refers to the process of analyzing code by the lexer, after which it is converted to tokens.
Messenger
The value of Pi (π) can be best expressed using which of these data types? Syntax and Source Code 2/2
Numbers (integers)
Numbers (binary)
Boolean
Reason
The value of Pi is a floating point number. Hence, the number data type is best suited. However, with some languages, you must be specific about the exact
flavor of numbers you wish to hold, and, in this case, floating point numbers are needed to hold the value of Pi correctly.