- Home
- MCQs by exam
- PPSC IT
PPSC IT MCQs · Page 18
577 multiple choice questions typical of the PPSC IT exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
Only columns free of NaN
-
B
Only the numeric columns
Correct answer
-
C
Every column including text
-
D
Only the index entries
-
A
qcut only handles datetime data
-
B
cut always makes equal-size bins
-
C
qcut bins by quantile; cut by values
Correct answer
-
D
qcut bins by value; cut by quantile
-
A
Null
-
B
True
-
C
False
-
D
None
Correct answer
-
A
The sum
-
B
The count
-
C
The maximum
-
D
The mean
Correct answer
-
A
Ranks x without reordering rows
-
B
Sorts rows by x, largest first
Correct answer
-
C
Sorts columns by x, largest first
-
D
Drops rows where x is negative
-
A
concat joins frames on shared keys
-
B
merge stacks frames along an axis
-
C
merge needs identical column names
-
D
concat stacks frames along an axis
Correct answer
-
A
It reorders the index of the frame
-
B
The inner selection may be a copy
Correct answer
-
C
It always raises a KeyError
-
D
It silently converts dtypes to object
-
A
One row as a Series
Correct answer
-
B
One column as a Series
-
C
The whole DataFrame
-
D
A single scalar cell
-
A
By count, lowest first
-
B
By the index labels
-
C
By original row order
-
D
By count, highest first
Correct answer
-
A
Duplicate rows in each column
-
B
Bytes of memory per column
-
C
Missing counts for each column
Correct answer
-
D
Total entries in each column
-
A
The memory used in bytes
-
B
The dtype of every column
-
C
The count of non-null entries
-
D
The number of rows and columns
Correct answer
-
A
Drops columns holding any missing value
-
B
Fills every missing value with zero
-
C
Drops repeated index entries
-
D
Drops rows holding any missing value
Correct answer
-
A
A ValueError, because the indexes are not identical
-
B
A Series indexed 1 to 4, with zeros at 1 and 4
-
C
A Series indexed 1 to 4, with NaN at 1 and 4
Correct answer
-
D
A Series of length 3, added element-wise by position
-
A
loc works only on Series objects
-
B
iloc works only on numeric columns
-
C
loc uses labels; iloc uses positions
Correct answer
-
D
loc uses positions; iloc uses labels
-
A
The first five rows
Correct answer
-
B
The last five rows
-
C
Five randomly chosen rows
-
D
The five largest values
-
A
Storing exactly one copy of each object
-
B
Acquiring and releasing resources automatically
Correct answer
-
C
Keeping a fixed pool of reserved servers
-
D
Moving workloads to cheaper regions
-
A
Replicas converge once writes stop
Correct answer
-
B
Reads always see the newest write
-
C
Writes are refused during a partition
-
D
Every replica holds a separate schema
-
A
Containers cannot be isolated at all
-
B
Containers share the host kernel
Correct answer
-
C
Containers each boot a full guest OS
-
D
Containers need a hypervisor to run
-
A
The maximum number of tenants
-
B
Guaranteed uptime and service credits
Correct answer
-
C
The platform's full source code
-
D
The exact hardware in every host
-
A
Isolating resources in a private network
Correct answer
-
B
Publishing an application to the internet
-
C
Running virtual machines on local hosts
-
D
Replicating a database across regions
-
A
Encrypts them at the network edge
-
B
Spreads them across healthy servers
Correct answer
-
C
Compresses them before storage
-
D
Assigns them to one fixed server
-
A
Nothing, if replicas exist
-
B
Consistency or availability
Correct answer
-
C
Durability or consistency
-
D
Latency or throughput
-
A
The licence count of the software
-
B
The number of load balancers used
-
C
The largest machine that can be bought
Correct answer
-
D
The number of network ports used
-
A
Per reserved virtual machine hour
-
B
Per gigabyte of block storage
-
C
Per administrator account
-
D
Per request and execution duration
Correct answer
-
A
Providing virtual machines on demand
-
B
Caching content at edge sites near users
Correct answer
-
C
Encrypting traffic between data centres
-
D
Balancing writes across database replicas