15 real Styling & Layout questions from the React Native bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.
1. What is StyleSheet?
Junior
A.values selected per operating system using Platform.select, letting one style object differ between iOS and Android
B.an abstraction that turns a JavaScript object of style rules into an optimized, validated reference id rather than inline objects
C.a shorthand constant that stretches a layer to cover its parent on all four edges via position absolute and zeroed insets
D.the default layout algorithm where the main axis defaults to column, used to position and size children within a container
2. Which term means: "an abstraction that turns a JavaScript object of style rules into an optimized, validated reference id rather than inline objects"?
8. Which term means: "the unitless numbers used for sizes that scale across screens of different pixel densities, so layout looks consistent on every device"?
A.density-independent pixels — a shorthand constant that stretches a layer to cover its parent on all four edges via position absolute and zeroed insets
B.density-independent pixels — values selected per operating system using Platform.select, letting one style object differ between iOS and Android
C.density-independent pixels — an abstraction that turns a JavaScript object of style rules into an optimized, validated reference id rather than inline objects
D.density-independent pixels — the unitless numbers used for sizes that scale across screens of different pixel densities, so layout looks consistent on every device
A.Platform-specific styles — a shorthand constant that stretches a layer to cover its parent on all four edges via position absolute and zeroed insets
B.Platform-specific styles — values selected per operating system using Platform.select, letting one style object differ between iOS and Android
C.Platform-specific styles — the default layout algorithm where the main axis defaults to column, used to position and size children within a container
D.Platform-specific styles — the unitless numbers used for sizes that scale across screens of different pixel densities, so layout looks consistent on every device
A.StyleSheet.absoluteFill — the unitless numbers used for sizes that scale across screens of different pixel densities, so layout looks consistent on every device
B.StyleSheet.absoluteFill — an abstraction that turns a JavaScript object of style rules into an optimized, validated reference id rather than inline objects
C.StyleSheet.absoluteFill — the default layout algorithm where the main axis defaults to column, used to position and size children within a container
D.StyleSheet.absoluteFill — a shorthand constant that stretches a layer to cover its parent on all four edges via position absolute and zeroed insets
Answers, AI explanations, and a scored voice mock interview
Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.