StarkSeek
EventsJobs
Sign in

Menu

Practice

  • DSA sheetsProblem sheets by topic and company
  • AptitudeNewQuant, logic, data and verbal, with fresh questions
  • SQLNew400 interview-style SQL problems with checked solutions
  • CS fundamentalsNewOS, DBMS, networks and OOP, with labs you can run
  • Skill tracksProject-based learning in 12 domains

Interview prep

  • Mock interviewAIPractise with an AI interviewer by voice
  • Code ComprehensionNewRead, fix and explain real code with an AI assistant
  • EventsHackathons, workshops, meetups and contests
  • JobsOpen roles from companies hiring through StarkSeek

Pricing

  • MembershipsCompare plans and what each includes
  • Add-ons and creditsExtra credits when you need more
  • Rewards store

For Companies

  • Hire talentAssess real work, read the evidence behind every score and decide with your team
  • Host an eventHackathons, coding contests, workshops and meetups, with certificates and a live leaderboard
Sign in
CS fundamentals/Operating Systems/Processes, threads and system calls

Operating Systems

Processes, threads and system calls

What a process is, how it differs from a thread, and how a program asks the kernel for something.

Practise this topic

In two minutes

One idea to a line

  1. 1

    A process is a program in execution with its own address space; a thread is a path of execution inside a process that shares its code, heap and open files.

  2. 2

    Each thread has its own stack, registers and program counter. A process switch costs more than a thread switch because the address space changes.

  3. 3

    A system call moves the CPU from user mode to kernel mode through a trap; the kernel does the work and returns.

  4. 4

    Process states: new, ready, running, waiting (blocked), terminated. Only one process per core is running at a time.

  5. 5

    fork() makes a copy of the calling process and returns twice: 0 in the child and the child's id in the parent.

Slips people make here

Interviewers know them too

  • Saying threads have separate heaps: they share it.

  • Thinking a blocked process is in the ready queue: it waits for an event first.

  • Counting a fork() child as sharing variables with its parent: it gets a copy.

Your practice here

Not started

10 written questions, and 1 kind of calculation that change every time

No answers yet

Get product updates

New tracks and events, straight to your inbox.

StarkSeek

Learn by building real projects, practise interview-level DSA, and apply to roles from hiring teams.

Platform

  • Learning tracks
  • Practice problems
  • Aptitude
  • SQL practice
  • CS fundamentals
  • Mock interviews
  • Code Comprehension
  • Events

Resources

  • Host an event
  • For companies
  • Certificates
  • Rewards store
  • Pricing
  • Add-ons
  • Blog

Company

  • Careers
  • Contact us
  • Privacy policy
  • Terms of service

Support

  • contact@starkseek.com
  • community@starkseek.comEvents and organizers
  • partner@starkseek.comCompanies and partnerships

© 2026 StarkSeek. A product of NOKATI LLP.

Recognized by