T TestsWorld

Free practice test · Sun

1D0-435 - JavaScript

148 questions with a timer and instant results. Practise in short drills or take the full test, then see exactly which topics need work.

📝 148 questions ⏱ 20 min for all 🎯 Pass mark 70% 💸 Free, unlimited attempts
⚡
Short drills

Pick 10, 25 or 50 questions for a quick round, or take all of them.

💡
Learn as you go

Practice mode shows the right answer and an explanation for every question.

📊
See your weak spots

Your result shows strong and weak topics and what to read next.

What's in the test

Easy 47% Medium 45% Hard 8%
History Object 3DOM Hierarchy 3Browser Support 1User Defined Objects 5Comments 2Form Elements 1JavaScript History 1String Indexing 1Global Variables 4String Length 3Language Characteristics 2JavaScript Syntax 1

Sample questions with answers

6 of the 148 questions in 1D0-435 - JavaScript. Try each one, then open the answer.

  1. Question 1
    With the indexof() method, when you enter the string "this is a test", the word "test" is located at the _______ th location of the string:
    • A. 12
    • B. 8
    • C. 9
    • D. 10
    Show answer
    Answer: D. 10
    According to this site: Now we get to the really fun method of indexOf. This method lets you check for a character or even a small string within the current string, and returns the position at which your character or string begins. Again, remember that the position starts counting at 0, so if indexOf returns zero, it means your character or string begins at the 1st character. Also, indexOf has a useful return value of -1 if the character or string you searched for is not contained within the string. And finally, if the character or string you search for occurs more than once, indexOf returns only the first appearance of your character or string.
  2. Question 2
    You are a junior web designer. Your company assigns you to work on a JavaScript project. Which of the following is the minimum browser version that supports JavaScript
    • A. Navigator v2.0
    • B. Navigator V1.0
    • C. Mozilla V1.5
    • D. IE 2.0
    Show answer
    Answer: A. Navigator v2.0
    According to the CIW JavaScript courseware: JavaScript is first supported in Navigator v2.0. Since then it gained universal support.
  3. Question 3
    Under the DOM hierarchy, the object fileupload has an ancestor of:
    • A. application
    • B. document
    • C. form
    • D. area
    Show answer
    Answer: C. form
    According to webopedia.com: DOM - Short for Document Object Model, the specification for how objects in a Web page (text, images, headers, links, etc.) are represented. The DOM defines what attributes are associated with each object, and how the objects and attributes can be manipulated. Dynamic HTML (DHTML) relies on the DOM to dynamically change the appearance of Web pages after they have been downloaded to a user's browser. Unfortunately, the two leading browsers -- Netscape Navigator and Microsoft Internet Explorer -- use different DOMs. This is one reason why their respective implementations of DHTML are so different. Both companies have submitted their DOMs to the World Wide Web Consortium (W3C) for standardization, which now has the daunting task of specifying a standard DOM without alienating either of the browser giants. The W3C's DOM specification will support both HTML and XML.
  4. Question 4
    You are a junior web designer. Your company assigns you to work on a JavaScript project. You want to provide your users with the ability to go back to the previous pages they visited before. Which of the following objects should you use?
    • A. History
    • B. Document
    • C. Back
    • D. Forward
    Show answer
    Answer: A. History
    According to the CIW JavaScript courseware: HISTORY subordinates to the window object in the window hierarchy, and uses the back() and forward() methods of the history object.
  5. Question 5
    Accordingly to the DOM hierarchy, which of the following objects are of the same level?
    • A. document, frame, location, area
    • B. document, frame, location, history
    • C. document, array, location, history
    • D. document, frame, location, history, layer
    Show answer
    Answer: B. document, frame, location, history
    According to webopedia.com: DOM - Short for Document Object Model, the specification for how objects in a Web page (text, images, headers, links, etc.) are represented. The DOM defines what attributes are associated with each object, and how the objects and attributes can be manipulated. Dynamic HTML (DHTML) relies on the DOM to dynamically change the appearance of Web pages after they have been downloaded to a user's browser. Unfortunately, the two leading browsers -- Netscape Navigator and Microsoft Internet Explorer -- use different DOMs. This is one reason why their respective implementations of DHTML are so different. Both companies have submitted their DOMs to the World Wide Web Consortium (W3C) for standardization, which now has the daunting task of specifying a standard DOM without alienating either of the browser giants. The W3C's DOM specification will support both HTML and XML.
  6. Question 6
    You are a junior web designer. Your company assigns you to work on a JavaScript project. Which of the following companies develop the language?
    • A. Microsoft
    • B. Oracle
    • C. W3C
    • D. None of the choices.
    Show answer
    Answer: D. None of the choices.
    According to the CIW JavaScript courseware: Javascript was developed by Netscape Corporation, previously named LiveScript, but contracted with Sun Microsystems to name it JavaScript.

Want all 148 with a timer and a topic-wise result? Start the free test at the top of this page.

About this practice test

1D0-435 CIW 1D0-435 - JavaScript

This practice test belongs to TestsWorld's Sun Microsystems certification track (now Oracle-administered). The bank covers historical SCJP, SCJD, SCWCD, SCEA and SCSA / SCNA exams across Java, Solaris and Sun system administration. These exams are largely retired but the question banks remain useful as language-fundamentals practice and for legacy-system support.

What this practice test gives you

184 multiple-choice questions covering the subject area, served from a randomised order so each attempt feels fresh. Take the test at your own pace. Allowed time per attempt: 20 min. Pass mark: 70%.

Study tips. Read every explanation, including on questions you answered correctly — they often surface adjacent concepts you may face on the live exam. After a full attempt, review your incorrect and skipped questions in detail before re-attempting. Combined with official study material, this practice bank is most effective when you cycle through it multiple times over a few weeks of preparation.

Before you start: device, fullscreen and proctoring