How do you ensure that code adheres to good coding standards?
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
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
Similar Resources on Quizizz
10 questions
Programming Knowledge Quiz (Medium)

Quiz
•
5th Grade - Professio...
10 questions
Ethics Jan8

Quiz
•
6th Grade - Professio...
17 questions
Drones

Quiz
•
KG - Professional Dev...
10 questions
R A 6713

Quiz
•
Professional Development
10 questions
Week 8 Recap

Quiz
•
Professional Development
15 questions
Risk Measurement & Management

Quiz
•
Professional Development
16 questions
Code of Ethics for Professional Teachers

Quiz
•
Professional Development
10 questions
MATERIAL HANDLING

Quiz
•
University - Professi...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade