Chapter 2 Meaningful Names & Chapter 3 Functions

A clean and modern illustration of code snippets and fun<wbr>ction diagrams, featuring meaningful names and best coding practices, with a background that suggests programming and software development.

Mastering Meaningful Names and Functions

Test your knowledge on best coding practices with our quiz focused on meaningful names and functions in programming. This quiz is designed for both beginners and experienced developers looking to reinforce their understanding of naming conventions and function principles.

  • 10 engaging questions
  • Multiple choice, checkboxes, and drop-down options
  • Challenge yourself and track your learning progress
10 Questions2 MinutesCreated by CraftingCode42
What attributes should an Intention Revealing Name Have? (Variable, Function or Class)
Why it exists?
Who created it?
What it does?
How it is used?
Which are examples of Pronounceable Names
Private Date genymdhms;
Private Date generationTimeStamp;
Int d;
Int elapsedTimeInDays
True or False - bBusy : boolean is an example of Hungarian Notation
True
False
True or False - Class Names should be noun or noun phrases
True
False
True or False - Method Names should be noun or noun phrases
True
False
True or False - The first rule of functions is that they should be large
True
False
Functions Should
Do One thing
Be read from top to bottom
Be complex
Have sections
The ideal number of arguments for a function is:
True or False - Functions should do something, or answer something but not both.
True
False
True or False - A function that handles errors should do nothing else
True
False
{"name":"Chapter 2 Meaningful Names & Chapter 3 Functions", "url":"https://www.supersurvey.com/QPREVIEW","txt":"Test your knowledge on best coding practices with our quiz focused on meaningful names and functions in programming. This quiz is designed for both beginners and experienced developers looking to reinforce their understanding of naming conventions and function principles.10 engaging questionsMultiple choice, checkboxes, and drop-down optionsChallenge yourself and track your learning progress","img":"https:/images/course8.png"}
Make your own Survey
- it's free to start.