Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CMU Unit 2 Exam Questions and Answers: Programming Concepts, Exams of Nursing

A set of questions and answers related to programming concepts covered in cmu unit 2. It covers topics such as shape properties, function calls, mouse events, and variable naming conventions. Useful for students preparing for exams or reviewing key concepts.

Typology: Exams

2024/2025

Available from 03/08/2025

to-highscore
to-highscore 🇺🇸

359 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CMU Unit 2 Exam Questions and answers
2025
We .can .set .any .general .shape .property .(except ."align") .for .a .shape .if .we .have
.a .global .variable .storing .the .shape. .- .CORRECT .ANSWER-True
A .function .call .can .have .fewer .arguments .than .the .function .has .parameters. .-
.CORRECT .ANSWER-False
Calling .a .function .runs .all .the .code .in .that .function's .body. .- .CORRECT
.ANSWER-True
In .onMousePress, .we .can .get .a .point .to .the .left .of .the .mouse .press .by .adding
.a .(positive) .number .to .mouseX .- .CORRECT .ANSWER-False
We .cannot .change .any .properties .of .a .shape .if .we .don't .set .them .when .first
.creating .that .shape. .- .CORRECT .ANSWER-False
orangeStar1 .is .a .legal .variable .name .for .a .yellow .rectangle. .- .CORRECT
.ANSWER-True

Partial preview of the text

Download CMU Unit 2 Exam Questions and Answers: Programming Concepts and more Exams Nursing in PDF only on Docsity!

CMU Unit 2 Exam Questions and answers

We .can .set .any .general .shape .property .(except ."align") .for .a .shape .if .we .have .a .global .variable .storing .the .shape. .- .CORRECT .ANSWER-True A .function .call .can .have .fewer .arguments .than .the .function .has .parameters. .- .CORRECT .ANSWER-False Calling .a .function .runs .all .the .code .in .that .function's .body. .- .CORRECT .ANSWER-True In .onMousePress, .we .can .get .a .point .to .the .left .of .the .mouse .press .by .adding .a .(positive) .number .to .mouseX .- .CORRECT .ANSWER-False We .cannot .change .any .properties .of .a .shape .if .we .don't .set .them .when .first .creating .that .shape. .- .CORRECT .ANSWER-False orangeStar1 .is .a .legal .variable .name .for .a .yellow .rectangle. .- .CORRECT .ANSWER-True