Coding Standards Quiz
Quiz
•
Education
•
Professional Development
•
Hard
Archit Dugar
Used 8+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you ensure that code adheres to good coding standards?
Ensure that the code passes all unit test cases.
Ensure that the code reviews are conducted consistently and effectively.
Use linters to ensure the code is error-free and follows best practices.
All of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Code is said to be understandable when _____.
it is valid, no exception errors and properly commented
it is easily readable with proper comments, indented code and naming conventions
proper naming conventions are used and it is efficient
easily adaptable, error free with adequate validation checks
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the fundamentals of code readability?
Appropriate naming convention
Proper alignment of code
Avoid deep nesting
All of the above
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following isn't true about variable names in modern programming languages like C++, Java and JavaScript?
Shorter variables names generate more efficient code
A space between words in a variable will cause a compile time error
Descriptive variable names increase readability of code
Good variable names help avoid naming collisions
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Alternatively known as dash case or lisp case, what variable naming strategy places a dash between words?
Snake case
Camel case
Kebab case
Pascal case
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following tend not to create challenges or inconsistencies with naming conventions?
Nouns
Acronyms
Initialisms
Compound words
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A variable named oneTwoThree follows which variable naming convention?
Snake case
Camel case
Kebab case
Pascal case
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
COVID19
Quiz
•
6th Grade - Professio...
18 questions
Fire & Safety
Quiz
•
Professional Development
20 questions
Arise Jan Live fitness challenge assessment
Quiz
•
Professional Development
10 questions
Resume
Quiz
•
Professional Development
10 questions
C1 Vocabulary: Eating and drinking
Quiz
•
11th Grade - Professi...
10 questions
Suffering from pressure of expectations
Quiz
•
Professional Development
10 questions
CURRENT AFFAIRS
Quiz
•
12th Grade - Professi...
20 questions
Module 6: Social Groups and Organization
Quiz
•
11th Grade - Professi...
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Education
10 questions
How to Email your Teacher
Quiz
•
Professional Development
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
16 questions
Spooky Season Quiz
Quiz
•
Professional Development
10 questions
Halloween Trivia
Quiz
•
Professional Development
20 questions
Context Clues: Multiple Meaning Words
Quiz
•
Professional Development
18 questions
Do or Does
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...
