Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In
Continue with Google
or use

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here
Continue with Google
or use

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

Answerclub

Answerclub Logo Answerclub Logo

Answerclub Navigation

  • Home
  • About Us
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • About Us
  • Contact Us

Welcome to Answerclub.org

Questions | Answers | Discussions | Knowledge sharing | Communities & more.

Ask A Question
Home/ Questions/Q 239331
Next
In Process

Answerclub Latest Questions

Aryan Prajapat
  • 0
  • 0
Aryan PrajapatKnowledge Contributor
Asked: October 5, 20242024-10-05T17:34:52+05:30 2024-10-05T17:34:52+05:30In: Education

What are the differences between process and thread?

  • 0
  • 0
What are the differences between process and thread?
1
  • 1 1 Answer
  • 39 Views
  • 0 Followers
  • 0
Answer
  • Report

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Aryan Prajapat
    Aryan Prajapat Knowledge Contributor
    2024-10-05T17:36:20+05:30Added an answer on October 5, 2024 at 5:36 pm

    Aptitude
    Engineering Mathematics
    Discrete Mathematics
    Operating System
    DBMS
    Computer Networks
    Digital Logic and Design
    C Programming
    Data Structures
    Algorithms
    Theory of Computation
    Compiler Design
    Computer Org and Architecture
    â–²
    Open In App
    Operating System Interview Questions
    Last Updated : 20 Sep, 2024
    An operating system acts as a GUI between the user and the computer system. In other words, an OS acts as an intermediary between the user and the computer hardware, managing resources such as memory, processing power, and input/output operations. Here some examples of popular operating systems include Windows, MacOS, Linux, Android etc.

    In this article, we provide you with the top 100+ OS interview questions with answers that cover everything from the basics of OS architecture to advanced operating systems concepts such as file systems, scheduling algorithms, and multithreading. Whether you are a fresher or an experienced IT professional, this article gives you all the confidence you need to ace your next OS interview.

    Table of Content

    Basics OS Interview Questions
    Intermediate OS Interview Questions
    Advanced OS Interview Questions

    Basics OS Interview Questions
    1. What is a process and process table?
    A process is an instance of a program in execution. For example, a Web Browser is a process, and a shell (or command prompt) is a process. The operating system is responsible for managing all the processes that are running on a computer and allocates each process a certain amount of time to use the processor. In addition, the operating system also allocates various other resources that processes will need, such as computer memory or disks. To keep track of the state of all the processes, the operating system maintains a table known as the process table. Inside this table, every process is listed along with the resources the process is using and the current state of the process.

    2. What are the different states of the process?
    Processes can be in one of three states: running, ready, or waiting. The running state means that the process has all the resources it needs for execution and it has been given permission by the operating system to use the processor. Only one process can be in the running state at any given time. The remaining processes are either in a waiting state (i.e., waiting for some external event to occur such as user input or disk access) or a ready state (i.e., waiting for permission to use the processor). In a real operating system, the waiting and ready states are implemented as queues that hold the processes in these states.

    For more details you can refer States of a Process in Operating Systems published article.

    3. What is a Thread?
    A thread is a single sequence stream within a process. Because threads have some of the properties of processes, they are sometimes called lightweight processes. Threads are a popular way to improve the application through parallelism. For example, in a browser, multiple tabs can be different threads. MS Word uses multiple threads, one thread to format the text, another thread to process inputs, etc.

    4. What are the differences between process and thread?
    Process is program under action and thread is the smallest segment of instructions (segment of a process) that can be handled independently by a scheduler.

    Threads are lightweight processes that share the same address space including the code section, data section and operating system resources such as the open files and signals. However, each thread has its own program counter (PC), register set and stack space allowing them to the execute independently within the same process context. Unlike processes, threads are not fully independent entities and can communicate and synchronize more efficiently making them suitable for the concurrent and parallel execution in the multi-threaded environment.

      • 0
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

You must login to add an answer.

Continue with Google
or use

Forgot Password?

Need An Account, Sign Up Here

Sidebar

Ask A Question

Stats

  • Questions 58,589
  • Answers 52,731
  • Popular
  • Answers
  • Mr.Doge

    What are the best AI tools available for Creative Designing?

    • 50 Answers
  • Mr.Doge

    How is tax calculated in India for investing in US ...

    • 41 Answers
  • Mr.Doge

    How to invest in NCD/ Corporate Bonds in India? Is ...

    • 35 Answers
  • Alokik Astro
    Alokik Astro added an answer Choosing the Best Astrologer In India requires evaluating experience, authenticity,… February 16, 2026 at 6:07 pm
  • Healoxy Private Limited
    Healoxy Private Limited added an answer If you are searching for a CPAP machine on rent… February 16, 2026 at 5:57 pm
  • Numeroworldf
    Numeroworldf added an answer The best numerology online course is one that delivers structured… February 16, 2026 at 5:34 pm

Related Questions

  • Why Vajirao and Reddy are the Best UPSC Coaching Institute ...

    • 0 Answers
  • What is the age limit for Tamil Nadu government jobs?

    • 1 Answer
  • Is TNPSC harder than UPSC?

    • 1 Answer
  • How to prepare for SSC and Bank exams while working?

    • 1 Answer
  • What are the best government jobs after engineering in India?

    • 1 Answer

Trending Tags

ai (245) biology (376) branch of study (241) business (238) cricket (262) digital marketing (180) education (1095) english (343) environment (179) fashion (171) finance (172) food (300) general knowledge. (1051) general science (258) geography (269) gk (776) health (395) history (798) lifestyle (208) phobia (166) pilates (221) pilates fitness (193) pilates workout (181) poll (261) psychology (229) question (7765) science (352) sports (334) technology (367) travel (363)

Explore

  • Home
  • Groups
  • Add group
  • Catagories
  • Questions
    • New Questions
    • Most Answered
  • Polls
  • Tags
  • Badges

© 2024 Answerclub.org | All Rights Reserved
Designed & Developed by INFINITEBOX & TechTrends