1) Which HTML tags are used for JavaScript? a) <javascript> and </javascript> b) <script> and </script> c) <js> and </js> 2) How can you add a comment in JavaScript? a) <!--This is a comment--> b) This is a comment c) // This is a comment 3) What name is used to describe whole numbers, like 5, 65, and 22? a) String b) Floating Point c) Integer 4) What name is used to describe decimal numbers, like 5.8, 65.76, and 22.43? a) String b) Floating Point c) Integer 5) How do you declare a JavaScript variable? a) variable carName; b) v carName c) var carName; 6) Which operator is used to assign a value to a variable? a) = b) * c) == 7) Which of the following is used to represent "not equal to" in JavaScript? a) <> b) .NE. c) != 8) What is the pseudocode keyword for Input? a) Display b) Calc c) Get 9) Which operator is used to compare values in JavaScript? a) = b) * c) == 10) Which of the following commands is associated with the selection construct? a) if b) function c) while 11) What is the pseudocode keyword for Output? a) Display b) Calc c) Get 12) What is the pseudocode keyword for Process? a) Display b) Calc c) Get 13) Which of these is a visual design tool for programmers? a) Flowchart b) Pseudocode c) Stepwise Refinement 14) Which of the following commands is associated with the iteration construct? a) if b) switch c) while 15) Which of these is a legal input command? a) var name = prompt("What is your name?"); b) alert(name); c) do { 'What is your name?' } while (name < 0); 16) What logical danger should be avoided when creating a do .. while loop? a) Misplacing Syntax b) Not incrementing the counter and creating a infinite loop c) Using an if statement inside the loop 17) What is the general syntax of a do .. while loop? a) do { code } while (condition) b) while (condition) { code } c) do (condition) { code } (condition) 18) Which of these shows a legal function call? a) call menu() b) menu(); c) do menu(); 19) Which type of testing looks at inputs and outputs and not the code? a) Alpha Testing b) Black Box Testing c) White Box Testing 20) Which type of testing looks at the code when developing test data? a) Alpha Testing b) Black Box Testing c) White Box Testing
0%
Computer Programming and JavaScript
공유
공유
공유
만든이
Gmccormackgcc
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?