Correct Sequence - Computer Science - Quiz, Exercises of Computer Science

Main points of this past exam are: Correct Sequence, Concatenation Operator, Javascript, Statements Together, Network Information, Network Device, Physical Address

Typology: Exercises

2012/2013

Uploaded on 04/07/2013

shafiqul_877b
shafiqul_877b 🇮🇳

4.3

(47)

184 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Signature ____________________ Name _____________________
cs3wb_____
Student ID ___________________ Score:
Quiz 3
CSE 3
Winter 2007
Circle the correct answer.
1. In JavaScript, the + is the string concatenation operator when:
A. both operands are strings
B. the left operand is a string
C. the right operand is a string
D. all of the above
2. Which of the following HTML escape character sequences displays a space?
A.  
B. <sp>
C. &space;
D. \sp
3. These characters are used to group multiple JavaScript statements together (i.e. – if or if-else statement):
A. { }
B. < >
C. [ ]
D. ( )
4. Which of the following is an invalid JavaScript identifier/variable name:
A. First-Ten
B. First_And_10
C. First_And_Ten
D. FirstAndTen
5. The DOS/Windows command to display network information including your computer's Physical
Address is:
A. netconfig
B. ipinfo
C. netinfo
D. ipconfig
6. In JavaScript, the || operator means:
A. assignment
B. equality (equal to)
C. logical OR
D. inequality (not equal to)
(Over)
pf2

Partial preview of the text

Download Correct Sequence - Computer Science - Quiz and more Exercises Computer Science in PDF only on Docsity!

Signature ____________________ Name _____________________

cs3wb_____

Student ID ___________________ Score:

Quiz 3

CSE 3

Winter 2007

Circle the correct answer.

  1. In JavaScript, the + is the string concatenation operator when: A. both operands are strings B. the left operand is a string C. the right operand is a string D. all of the above
  2. Which of the following HTML escape character sequences displays a space? A.   B. C. &space; D. \sp
  3. These characters are used to group multiple JavaScript statements together (i.e. – if or if-else statement): A. { } B. < > C. [ ] D. ( )
  4. Which of the following is an invalid JavaScript identifier/variable name: A. First-Ten B. First_And_ C. First_And_Ten D. FirstAndTen
  5. The DOS/Windows command to display network information including your computer's Physical Address is: A. netconfig B. ipinfo C. netinfo D. ipconfig
  6. In JavaScript, the || operator means: A. assignment B. equality (equal to) C. logical OR D. inequality (not equal to)

(Over)

  1. Which of the following is not a list tag? A.
    B. C.
      D.
      1. Which of the following is the correct sequence for taking a program written in a high level language like C or C++ and putting it in a form the computer can execute: A. High level program -> (Assemble) -> Binary -> (Compile) -> Assembly language -> Execute B. High level program -> (Compile) -> Assembly language -> (Assemble) -> Binary -> Execute C. High level program -> (Assemble) -> Assembly language -> (Compile) -> Binary -> Execute D. High level program -> (Compile) -> Binary -> (Assemble) -> Assembly language -> Execute
      2. The instruction cycle is: A. Instruction Fetch -> Operand/Data Fetch -> Instruction Decode -> Store Result -> Execute B. Instruction Fetch -> Instruction Decode -> Operand/Data Fetch -> Execute -> Store Result C. Instruction Fetch -> Operand/Data Fetch -> Instruction Decode -> Execute -> Store Result D. Instruction Fetch -> Instruction Decode -> Execute -> Operand/Data Fetch -> Store Result

      Fill in the blanks.

      1. There are _____ bits in a byte.
      2. RAM is short for _____________________________________________
      3. The ___________________ is the part of the CPU that does the real work as part of the Execute cycle.
      4. Another name for a network device's physical address is its __________________________________
      5. Each JavaScript statement is terminated by ____________.
      6. Bit is short for ___________________________.