Showing 4681–4700 of 4795

Q4681.What type of code is written by programmers in human-readable programming languages before being compiled?

Easy
A Source code
B Object code
C Machine code
D Binary code
Computer Terminology PPSC

Correct Answer: A

Source code consists of statements written by programmers in high-level languages. It is translated by compilers into executable machine/object code.

Q4682.Which of the following is widely recognized as the industry-standard software for professional raster graphics editing and photo manipulation?

Easy
A Adobe Photoshop
B Adobe Illustrator
C Corel Draw
D SketchUp
General MCQs PPSC

Correct Answer: A

Adobe Photoshop is the most widely used software for professional photo editing, image manipulation, and digital painting.

Q4683.Which technology is utilized by optical disk drives (such as CD and DVD players) to read and write digital data?

Easy
A Laser
B Mechanical
C Electrical
D Electro Magnetic
General MCQs PPSC

Correct Answer: A

Compact Discs (CDs) use low-power laser beams in optical drives to detect microscopic pits and lands on the reflective disc surface.

Q4684.In the Ruby programming language, what is the correct syntax used to define a new method?

Easy
A def method_name
B method method_name
C function method_name
D define method_name
Computer Terminology PPSC

Correct Answer: A

In Ruby, methods are defined using the 'def' keyword, followed by the method name, and ended with the 'end' keyword.

Q4685.What is a fundamental difference in characteristics between JavaScript and Java?

Easy
A There is no difference between them
B In JavaScript, functions are considered fields
C Variables are static in JavaScript
D In JavaScript, functions are values and there is no hard distinction between methods and fields
Computer Terminology PPSC

Correct Answer: D

JavaScript is a prototype-based scripting language where functions are first-class citizens (values), whereas Java is a strictly class-based, statically typed language.

Q4686.Which loop structure is most commonly used in C programming to iterate through an array with a known size?

Easy
A If loop
B Switch loop
C For loop
D While loop
Computer Terminology PPSC

Correct Answer: C

The 'for' loop is ideal for array iteration because it packs initialization, condition checking, and index incrementing into a single line.

Q4687.In rapid software prototyping, which programming tools are most commonly used to quickly build mockups?

Easy
A BASIC
B COBOL
C Fourth-Generation Languages (4GLs)
D Assemblers
Computer Networks PPSC

Correct Answer: C

4GLs (Fourth-Generation Languages) are highly visual, database-oriented, and high-level, making them perfect for generating rapid prototypes.

Q4688.Which of the following magnetic materials exhibits the lowest relative magnetic permeability?

Easy
A A diamagnetic material
B A paramagnetic material
C A ferromagnetic material
D None of these
Computer Basics PPSC

Correct Answer: A

Diamagnetic materials create an opposing magnetic field in response to an external field, resulting in a relative permeability slightly less than 1.

Q4689.What is the maximum positive value that can be stored in a standard 32-bit signed 'int' data type in C++?

Easy
A 32767
B 2147483647
C 65535
D 4294967295
Computer Terminology PPSC

Correct Answer: B

A signed 32-bit integer ranges from -2,147,483,648 to 2,147,483,647 (which is 2^31 - 1).

Q4690.In an intrinsic (pure) semiconductor at thermal equilibrium, how does the number of free electrons compare to the number of holes?

Easy
A Equals the number of holes
B Is less than the number of holes
C Is greater than the number of holes
D It depends on the temperature
General MCQs PPSC

Correct Answer: A

In pure (intrinsic) semiconductors, free electrons are generated only by thermal excitation of valence electrons, leaving behind an equal number of holes.

Q4691.When installing PCI Network Interface Cards (NICs), how can you check or configure the IRQ availability?

Easy
A By adjusting DIP switches
B By modifying CONFIG.SYS
C By checking Motherboard BIOS/UEFI settings
D By physically checking Jumper settings
Computer Networks PPSC

Correct Answer: C

For PCI and modern Plug-and-Play devices, IRQ assignments and hardware resources are managed dynamically by the system BIOS/UEFI.

Q4692.In computer database systems, how is client-side software communication standardly established with a MySQL server?

Easy
A SQL APIs
B A programming language like C++
C Network calls
D Through the File System
Computer Terminology PPSC

Correct Answer: C

MySQL operates on a client-server architecture. Clients establish communication with the server by making network calls (TCP/IP socket connections).

Q4693.Which SQL command statement is used to permanently delete one or more columns from an existing table?

Easy
A MODIFY TABLE TableName DROP COLUMN ColumnName
B MODIFY TABLE TableName DROP ColumnName
C ALTER TABLE TableName DROP COLUMN ColumnName
D ALTER TABLE TableName DROP ColumnName
Computer Terminology PPSC

Correct Answer: C

The correct SQL syntax is ALTER TABLE followed by the table name, and then the DROP COLUMN clause with the column name.

Q4694.What is the primary focus of structural design methodology in software engineering?

Easy
A It uses notations and heuristics to organize modules
B It places a heavy emphasis on procedural decomposition
C Its primary advantage is data flow representation
D It structures programs using Structure Charts
MS PowerPoint PPSC

Correct Answer: C

The incorrect statement is Option C. Data flow representation is the primary advantage of Data Flow Diagrams (DFDs) used in Structured Analysis, whereas Structural Design focuses on module hierarchies.

Q4695.Which SQL operator is used to test a column for the absence of data (representing an empty field)?

Easy
A NOT operator
B IS NULL operator
C EXISTS operator
D None of these
Computer Terminology PPSC

Correct Answer: B

The IS NULL operator is used to identify fields that do not contain any data or are empty in a relational database table.

Q4696.What is the primary purpose of utilizing a Scatter Plot in Exploratory Data Analysis (EDA)?

Easy
A To show the distribution of a single variable
B To visualize and analyze relationships between two continuous variables
C To display categorical counts as separate categories
D To represent strictly linear time-series progressions
Computer Terminology PPSC

Correct Answer: B

Scatter plots display data points on a coordinate grid, helping researchers identify patterns, correlations, clusters, or outliers between two continuous variables.

Q4697.Which Artificial Intelligence concept allows computer systems to handle vague, imprecise, or non-binary information in a way that mimics human intuition?

Easy
A Boolean logic
B Human intelligence
C Fuzzy logic
D Functional logic
Computer Terminology PPSC

Correct Answer: C

Fuzzy logic allows computers to evaluate partial truths (values between 0 and 1) rather than strictly binary true/false values, modeling human-like decision-making.

Q4698.Which fixed database role in Microsoft SQL Server has the authority to add or remove user IDs and manage database access?

Easy
A db_sysadmin
B db_accessadmin
C db_securityadmin
D db_setupadmin
Computer Terminology PPSC

Correct Answer: B

The db_accessadmin fixed database role is responsible for managing user access and security permissions within SQL Server.

Q4699.Why is the following SQL statement erroneous? 'SELECT dept_name, ID, avg(salary) FROM instructor GROUP BY dept_name;'

Easy
A The non-aggregated column ID is selected but omitted from the GROUP BY clause
B The GROUP BY clause is not valid with the SELECT statement
C The avg() aggregate function cannot be selected alongside group elements
D None of the above options are correct
Computer Terminology PPSC

Correct Answer: A

When using aggregate functions (such as avg), all non-aggregated columns listed in the SELECT clause (like ID) must be explicitly specified in the GROUP BY clause.

Q4700.What core components must a standard microcontroller integrate on a single semiconductor chip at a minimum?

Easy
A CPU, ROM, I/O ports, and timers
B RAM, ROM, I/O ports, and timers
C CPU, RAM, I/O ports, and timers
D CPU, RAM, ROM, I/O ports, and timers
Computer Basics PPSC

Correct Answer: D

A microcontroller is a compact integrated circuit containing a CPU, volatile RAM, non-volatile ROM/Flash, input/output ports, and timers on a single chip.