Home / Programming Questions / Page 1886

Prgramming MCQs Feed | Page - 1886

Code:
< p id="demo">< /p>
< script>
var a = 20;
var b = "30";
document.getElementById ("demo").innerHTML = x + y;
< /script>
(A) 50
(B) 20+30
(C) 2030
(D) error

(A) urlnotfound
(B) urlsourcenotfound
(C) malformedurlexception
(D) urlnotfoundexception

(A) date.h
(B) clock.h
(C) time.h
(D) ctime.h

(A) var
(B) dim
(C) function
(D) const

(A) Blank Presentation
(B) From Existing Presentation
(C) From Design Template
(D) All of above

Code:
int[] a = {0, 2, 4, 1, 3};
for(int i = 0; i < a.length; i++)
a[i] = a[(a[i] + 3) % a.length];
(A) 0
(B) 1
(C) 2
(D) 3

(A) 1 GB
(B) 1 character
(C) 1 byte
(D) 1 bit

(A) View > split
(B) Window > split
(C) View > window > split
(D) Format > window