Practice 500 original MCQs for the FPSC Assistant Director (Web Development) screening test, with a short explanation for every question. Covers the official syllabus: English (vocabulary, grammar, sentence structuring) and the professional paper — HTML5, CSS3 and JavaScript, responsive design and front-end frameworks, server-side programming and REST APIs, databases and SQL, software engineering and Git, hosting, networks and web security, and e-governance. Built for the single BS-17 post in the Estate Office — work through the questions by topic, check the explanation after each answer, and track your preparation for the screening test.
20 of 500 FPSC Assistant Director (Web Development) questions, shown with their correct answers — open an answer to check yourself, then practice the full set free.
What does the Object.keys() method return?medium
Correct answer: An array of the object's own enumerable property names
Explanation: Object.keys returns the property names as an array, while Object.values returns the values and Object.entries returns pairs. It never returns a count or a JSON string.
A live look at what's newest across TestGenius
Practice 500 FPSC Assistant Director (Web Development) multiple-choice questions from Federal Public Service Commission (FPSC & CSS), covering easy, medium and hard level questions (200 easy, 200 medium, 100 hard). Attempt a batch, check each answer instantly and repeat as often as you like — free, with no signup. Explore more subjects in Federal Public Service Commission (FPSC & CSS).
FPSC Assistant Director (Web Development) sits in Federal Public Service Commission (FPSC & CSS) and currently has 500 practice questions: 40% easy, 40% medium, 20% hard. This set leans towards easier questions, which makes it a comfortable starting point before moving on to harder material.
With 500 questions, doing about 25 a day would take roughly 20 days to complete once, so splitting it into weekly targets works best.
Examples of questions in this subject:
There are 500 FPSC Assistant Director (Web Development) MCQs on TestGenius (200 easy, 200 medium, 100 hard), as part of Federal Public Service Commission (FPSC & CSS). You can practise all of them free on this page.
Yes. FPSC Assistant Director (Web Development) practice on TestGenius is completely free and guest practice needs no signup. Creating a free account unlocks unlimited questions, timed quizzes and certificates.
Yes. A sample of FPSC Assistant Director (Web Development) questions with their correct answers is shown on this page, and in the practice session every answer is checked instantly as you attempt it.
Work through the FPSC Assistant Director (Web Development) questions in batches, review each correct answer after you attempt it, and repeat the questions you got wrong until you can answer them confidently. Then take a timed quiz to check yourself under exam pressure.
Attempt 20 questions — a mix of easy, medium and hard. No signup needed.
Choose the correct sentence: A number of errors ___ found during testing.hard
Correct answer: were
Explanation: A number of takes a plural verb because it means several, so were found is correct. Was, is and has been are singular and break agreement.
What is the difference between a library and a framework in front-end development?medium
Correct answer: A framework controls the application structure and calls your code, while a library is called by your code
Explanation: Inversion of control distinguishes them: frameworks own the flow and invoke developer code at defined points, while libraries offer functions the developer calls when needed. Frameworks routinely use libraries.
What is the main advantage of using TypeScript with a front-end framework?medium
Correct answer: Static typing catches type errors during development before the code runs
Explanation: TypeScript adds types that the compiler checks, catching mismatches early and improving tooling and refactoring. It does not replace tests, enable servers or guarantee speed.
Fill in the blank: The team of engineers ___ working on the new module around the clock.hard
Correct answer: is
Explanation: Team is a collective noun acting as one unit here, so it takes the singular verb is, and the of-phrase does not change the number. Are, were and have been are plural forms that disagree with the singular subject.
Choose the sentence with the correct preposition: The team is working ___ a solution.hard
Correct answer: on
Explanation: Work on is the correct collocation for being engaged with a problem or solution. Work in suggests a place, work at suggests a location, and work to suggests a purpose.
Which statement about Bootstrap's grid system is correct?easy
Correct answer: It is a twelve-column responsive grid where columns stack on small screens
Explanation: Bootstrap's grid divides each row into twelve columns with breakpoints that stack columns on narrow screens. The grid is pure CSS, and its variables and classes are customisable.
Which CSS feature allows a custom property to be registered with a type, initial value and inheritance behaviour?hard
Correct answer: The @property at-rule from CSS Houdini
Explanation: The @property rule registers a custom property with syntax, inherits flag and initial value, enabling typed custom properties and transitions. Var only reads values, :root only scopes them, and @custom-property does not exist.
What is a view in a relational database?medium
Correct answer: A saved query presented as a virtual table that shows data from underlying tables
Explanation: A view stores a SELECT statement and behaves like a table for queries, without holding its own data. It is not a copy, a backup or an index.
Which display value removes an element from the page layout entirely, so it takes up no space?easy
Correct answer: display: none
Explanation: Display none removes the element from the render tree so surrounding content closes up as if it were absent. Visibility hidden and opacity zero both hide it while keeping its space.
What is the role of the finally block in a try-catch statement?medium
Correct answer: It runs code whether or not an error occurred, such as cleanup work
Explanation: Finally always executes after try and catch finish, making it the right place for cleanup like closing resources. It does not replace catch or run conditionally on success.
In CSS Grid, which property defines the number and size of columns in the grid?medium
Correct answer: grid-template-columns
Explanation: Grid-template-columns declares the track list for columns, for example three equal fractions. Template-rows defines rows, grid-columns is not a property, and auto-flow controls placement direction.
Which HTTP method should be used to update an entire existing resource in a REST API?medium
Correct answer: The PUT method
Explanation: PUT replaces the whole resource at the given URL, while PATCH changes only supplied fields and POST usually creates a new resource. GET never modifies data.
Choose the correctly spelled word from these options: Surveillance, Surveilance, Surveillence, Surveilence.medium
Correct answer: Surveillance
Explanation: Surveillance is spelled s-u-r-v-e-i-l-l-a-n-c-e, with -eill- in the middle and -ance at the end. The alternatives drop a letter or swap the vowels.That is why Surveillance is the right choice here, and the remaining options each point to a different concept.
What does the setTimeout() function do?easy
Correct answer: It schedules a function to run once after a specified delay in milliseconds
Explanation: SetTimeout queues a callback to execute once after the given millisecond delay, without blocking the script. SetInterval repeats it, and neither pauses execution.Hence It schedules a function to run once after a specified delay in milliseconds stands as the correct answer, with the other choices naming ideas that belong elsewhere.
What is the purpose of an index in a database?medium
Correct answer: It speeds up data retrieval by letting the engine find rows without scanning the whole table
Explanation: An index is a lookup structure, like a book index, that accelerates WHERE and JOIN searches at the cost of slower writes and extra storage. It does not sort the table itself or encrypt or back up data.
What is sharding in database design?hard
Correct answer: Splitting a large table's rows across several servers to distribute load
Explanation: Sharding partitions data horizontally by key, so each server holds a slice and the system scales out. Copying everything is replication, encryption is security, and merging is the opposite.
Which header prevents a page from being displayed inside a frame on another site, protecting against clickjacking?hard
Correct answer: The X-Frame-Options header, or the frame-ancestors directive of Content-Security-Policy
Explanation: X-Frame-Options DENY or SAMEORIGIN, and the newer frame-ancestors directive, stop other sites framing the page. Content-Type sniffing, referrer and caching headers serve different purposes.Hence The X-Frame-Options header, or the frame-ancestors directive of Content-Security-Policy stands as the correct answer, with the other choices naming ideas that belong elsewhere.
Which property is used to create a multi-column text layout like a newspaper?hard
Correct answer: The column-count property
Explanation: Column-count splits an element's content into the specified number of columns, with column-gap controlling the space between them. The other names are not CSS properties.
Which CSS property specifies the style of the border, such as solid, dashed or dotted?easy
Correct answer: The border-style property
Explanation: Border-style sets whether the border is solid, dashed, dotted, double and similar patterns. Type, design and shape are not CSS border properties.In short, The border-style property fits the definition given here, while the other options describe different ideas that do not apply.
Which mosque did the Holy Prophet (PBUH) lay the foundations of on his arrival at Quba during the Hijra?
FPSC Assistant Director (Web Development) sits in Federal Public Service Commission (FPSC & CSS) and currently has 500 practice questions: 40% easy, 40% medium, 20% hard. This set leans towards easier questions, which makes it a comfortable starting point before moving on to harder material.
Yes — signed-in users can take a timed quiz in any subject and earn a certificate by passing it. Practice mode itself is untimed and does not issue certificates.