Thursday, August 31, 2023

Operating system internals questions that might come up in a C++ interview:

Operating system internals questions that might come up in a C++ interview: 

  1. Explain the concept of a process and a thread. How do they differ?
  2. What is the difference between user-level threads and kernel-level threads?
  3. How does multitasking work in an operating system?
  4. What is a context switch? How does the operating system handle context switching?
  5. Explain the concept of a mutex. How does it help in achieving thread synchronization?
  6. What are semaphores and how do they differ from mutexes?
  7. Describe the producer-consumer problem. How can you solve it using synchronization primitives like semaphores or mutexes?
  8. What is a deadlock? How can it occur in a multithreaded program?
  9. Explain the concept of virtual memory. How does it improve the efficiency of memory management?
  10. What is a page fault? How is it handled by the operating system?
  11. How does an operating system manage file systems? What are inodes and how do they relate to file management?
  12. What is a process control block (PCB)? What information does it contain?
  13. Explain the difference between a fork() system call and exec() system call.
  14. What are system calls? How do they bridge the gap between user-level applications and the kernel?
  15. Discuss the role of the File Descriptor (FD) in I/O operations.
  16. How does the operating system manage memory allocation for processes?
  17. Explain the concepts of demand paging and page replacement algorithms. Give examples of such algorithms.
  18. What is the role of the "init" process in Unix-like operating systems?
  19. Discuss the concept of signals in Unix-like operating systems. How are they used for process communication and management?
  20. Explain the concept of a trap or exception in the context of operating systems.
  21. What is a kernel? How does it differ from an operating system?
  22. Explain the concept of process scheduling. What scheduling algorithms have you come across?
  23. How does the C++ standard library provide support for multithreading?
  24. Discuss the concept of thread-local storage (TLS) and its significance in multithreaded programming.
  25. What is a race condition? How can you prevent or mitigate race conditions in a multithreaded environment?
  26. Explain the concept of I/O multiplexing. How can you achieve it using tools like select(), poll(), or epoll()?
  27. Discuss the differences between synchronous and asynchronous I/O operations.
  28. Explain the role of the "fork and exec" mechanism in creating new processes. How does it work?
  29. What is a zombie process? How does the operating system handle it?
  30. Describe the concept of memory-mapped files. How can they be used for efficient file I/O?
  31. Explain the purpose of the "nice" value in process scheduling.
  32. What is the purpose of a system call like "wait()" or "waitpid()"?
  33. Discuss the concept of user space and kernel space. How does the operating system manage the separation between them?
  34. Explain the working principle of the "malloc()" and "free()" functions in C/C++ in relation to memory allocation.
  35. What is the purpose of the "chroot" system call?
  36. Discuss the concept of process groups and their significance.
  37. Explain the purpose of the "umask" command in Unix-like systems.
  38. How does the C++ exception handling mechanism interact with the operating system's exception handling?
  39. Discuss the concept of CPU scheduling algorithms. What are their goals and how do they differ?
  40. Explain the concept of a system daemon in Unix-like operating systems.
  41. What is a kernel? How does it differ from an operating system?
  42. Explain the concept of process scheduling. What scheduling algorithms have you come across?
  43. How does the C++ standard library provide support for multithreading?
  44. Discuss the concept of thread-local storage (TLS) and its significance in multithreaded programming.
  45. What is a race condition? How can you prevent or mitigate race conditions in a multithreaded environment?
  46. Explain the concept of I/O multiplexing. How can you achieve it using tools like select(), poll(), or epoll()?
  47. Discuss the differences between synchronous and asynchronous I/O operations.
  48. Explain the role of the "fork and exec" mechanism in creating new processes. How does it work?
  49. What is a zombie process? How does the operating system handle it?
  50. Describe the concept of memory-mapped files. How can they be used for efficient file I/O?
  51. Explain the purpose of the "nice" value in process scheduling.
  52. What is the purpose of a system call like "wait()" or "waitpid()"?
  53. Discuss the concept of user space and kernel space. How does the operating system manage the separation between them?
  54. Explain the working principle of the "malloc()" and "free()" functions in C/C++ in relation to memory allocation.
  55. What is the purpose of the "chroot" system call?
  56. Discuss the concept of process groups and their significance.
  57. Explain the purpose of the "umask" command in Unix-like systems.
  58. How does the C++ exception handling mechanism interact with the operating system's exception handling?
  59. Discuss the concept of CPU scheduling algorithms. What are their goals and how do they differ?
  60. Explain the concept of a system daemon in Unix-like operating systems.

Wednesday, July 27, 2016

Jobs Junction Job Feeds

Jobs Junction Job Feeds

Link to Jobs Junction Job Feeds

National Council for Cement and Building Materials (NCCBM) Recruitment 2016

Posted: 26 Jul 2016 07:53 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Airports Authority of India (AI) Recruitment 2016

Posted: 26 Jul 2016 07:53 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Mishra Dhatu Nigam Limited (MDNL) Recruitment 2016

Posted: 26 Jul 2016 07:53 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Odisha Power Transmission Corporation Limited (OPTCL) Recruitment 2016

Posted: 26 Jul 2016 07:53 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Chhatrapati Shahu Ji Maharaj University (CSJMU) Recruitment 2016

Posted: 26 Jul 2016 07:53 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Dr. Bababsaheb Ambedkar Marathwada University (BAMU) Recruitment 2016

Posted: 26 Jul 2016 07:52 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Tuesday, July 26, 2016

TechGlimpse - Burger King "McWhopper" Case Study Video

TechGlimpse - Burger King "McWhopper" Case Study Video


Burger King "McWhopper" Case Study Video

Posted: 25 Jul 2016 06:49 PM PDT

Burger King Proposes to McDonalds, see what what happens.


Jobs Junction Job Feeds

Jobs Junction Job Feeds

Link to Jobs Junction Job Feeds

Railway Recruitment Cell (RRC) Recruitment 2016

Posted: 25 Jul 2016 08:34 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

National School of Drama (NSD) Recruitment 2016

Posted: 25 Jul 2016 08:34 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Sardar Vallabhbhai Patel University of Agriculture & Technology (SVBP) Recruitment 2016

Posted: 25 Jul 2016 08:33 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Shri Lal Bahadur Shastri Rashtriya Sanskrit Vidyapeetha (SLBSRSV) Recruitment 2016

Posted: 25 Jul 2016 08:33 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Rail Land Development Authority (RLDA) Recruitment 2016

Posted: 25 Jul 2016 08:05 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Engineering Projects (India) Recruitment 2016

Posted: 25 Jul 2016 04:27 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Sunday, July 24, 2016

TechGlimpse - Things I wish I knew before starting an e-Commerce business [Part 2]

TechGlimpse - Things I wish I knew before starting an e-Commerce business [Part 2]


Things I wish I knew before starting an e-Commerce business [Part 2]

Posted: 24 Jul 2016 04:26 AM PDT

I have been getting a lot of positive feedbacks with the first article [read here], sharing lessons learned setting up your online store. So now I am adding a few more learnings that I hope you can adopt with your ecommerce site.

Cross marketing/Upsell
There will come a time where your operations have stabilized and you are now looking forward to increasing your revenue. First thing that you would think of is increase traffic, but before you try on paid ads and other advertising platforms check on the things you could cross promote on your site.

Some examples:
Upsell on your product page
You can also reward your customers for actions they make on your website

eCommerce is a numbers game
One thing I learned from my boss is that more than the creative marketing you execute it all boils down to numbers. If X number of sessions can generate X sales revenue, then you can work your numbers back to achieve the sales target. It's not about pageviews but sessions(online foot traffic) that matters.

Sharing you a guide for your eCommerce computation
Courtesy of Mon Lizardo

Lesser clicks = more conversion 
We were going through a website redesign and one of the bosses requested that hover feature to be available, so that customers won't be required to click to see the content. It actually make sense, if in other websites you want customers to keep on clicking pages, for eCommerce you want the customer journey to be as short as possible. Try visiting your favorite online store, they will usually have the following:
  • Hover to expand categories
  • Express checkout
  • Pop up to proceed to checkout

Keep your content fresh
Just like any other websites or brick and mortar stores, you need to give customers reason to visit your website. This can be done through various marketing activities, but the basic action you should be doing is updating content of your website. This means updating your banners, hot items, best sellers, adding new type of products and more. If you notice with the top online stores, they usually have regular campaigns; rainy day promos, gift ideas for mother's day, new items, daily deals, etc. The most common mistake for website owners is launching the site then not updating it regularly.





















Master your platform
Chances are you are running with one of the ecommerce platform, which if you have done you research right, ecommerce platforms has tons of hidden features that you can actually use. We are using magento for almost a year now, and still getting to know some of the features that we are not able to maximize. Some features that is usually available on an ecommerce platform.
  • Coupon codes
  • Special discounts [specify duration]
  • Bundling [group together SKU's for a special price without the need to separate inventory]
  • Alert for low stock inventory
  • Special discount for a customer group (ex. 10% for all employees, 5% for registered users, free shipping for guest users, etc)


Hope this article was able to add knowledge to your ecommerce journey! Share us some of tips and experience with running your own online store, post a comment below. :)

Haven't read part 1? read here: http://www.techglimpse.ph/2014/10/things-i-wish-i-knew-before-starting-e.html

Looking for an e-Commerce consultant? Let's talk sherwin.yeo@gmail.com :)

Saturday, July 23, 2016

Jobs Junction Job Feeds

Jobs Junction Job Feeds

Link to Jobs Junction Job Feeds

The English and Foreign Languages University (EFL) Recruitment 2016

Posted: 21 Jul 2016 07:38 PM PDT

Location: India, Position: Check Details, Qualification: Check Details

Madhya Pradesh Venture Finance Limited (MPVFL) Recruitment 2016

Posted: 21 Jul 2016 07:38 PM PDT

Location: India, Position: Check Details, Qualification: Check Details

Employees’ State Insurance Corporation (ESIC) Recruitment 2016

Posted: 21 Jul 2016 07:38 PM PDT

Location: India, Position: Check Details, Qualification: Check Details

Uttar Pradesh Secondary Education Services Selection Board (UPSESSB) Recruitment 2016

Posted: 21 Jul 2016 07:37 PM PDT

Location: India, Position: Check Details, Qualification: Check Details

Friday, July 22, 2016

Tricky Blogger : Blogging tips | Blogger Widgets | SEO | Templates

Tricky Blogger : Blogging tips | Blogger Widgets | SEO | Templates


How To Get Your Lost Gmail ID & Password

Posted: 30 May 2016 01:43 AM PDT

Hello Friends

If ur Gmail ID & Password Lost what r u doing ....?
Don't Worry today i will show How to Find out ur Gmail ID and Create a New Password...

NOTE:
Mostly u have remember ur Mobile Numaber whenever u create ur own Gmail ID that time Google send to ur Mobile some confirm code...so its necesary ur Mobile Number to use this trick after that u get ur ID or Password....


... THANKU ...

Digital India Logo New Look

Posted: 30 May 2016 01:43 AM PDT


FeedaMail: Comments for Sutter’s Mill

feedamail.com Comments for Sutter's Mill

Comment on Trip report: Summer ISO C++ standards meeting (Oulu) by GoingNative 52: ISO C++ @Oulu Debriefing | C9::GoingNative – Be Analytics

[…] Herb Sutter’s trip report to learn more about what happened at […]

Read More »

Comment on Trip report: Summer ISO C++ standards meeting (Oulu) by GoingNative 52: ISO C++ @Oulu Debriefing | C9::GoingNative | | php Technologies

[…] Herb Sutter’s trip report to learn more about what happened at […]

Read More »
 
Delievered to you by Feedamail.
Unsubscribe

Wednesday, July 20, 2016

FeedaMail: Comments for Sutter’s Mill

feedamail.com Comments for Sutter's Mill

Comment on Trip report: Summer ISO C++ standards meeting (Oulu) by C++ in Competitive Programming: associative containers | Growing up

[…] maps and sets: (following words by Herb Sutter) you will now be able to directly move internal nodes from one node-based container directly into […]

Read More »
 
Delievered to you by Feedamail.
Unsubscribe

Jobs Junction Job Feeds

Jobs Junction Job Feeds

Link to Jobs Junction Job Feeds

Intelligence Bureau (IB) Recruitment 2016

Posted: 19 Jul 2016 06:50 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Ministry of Earth Sciences (MoES) Recruitment 2016

Posted: 19 Jul 2016 06:49 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Reserve Bank of India Services Board (RBI) Recruitment 2016

Posted: 19 Jul 2016 06:49 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Ministry of Environment, Forests & Climate Change (MOEF) Recruitment 2016

Posted: 19 Jul 2016 06:49 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Telecom Disputes Settlement & Appellate Tribunal (TDSAT) Recruitment 2016

Posted: 19 Jul 2016 06:49 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Parliament of India (Sansad) Recruitment 2016

Posted: 17 Jul 2016 07:00 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

SOFTWARE TECHNOLOGY PARKS OF INDIA (STPI) Recruitment 2016

Posted: 17 Jul 2016 07:00 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Chennai Petroleum Corporation Limited (CPCL) Recruitment 2016

Posted: 17 Jul 2016 07:00 AM PDT

Location: India, Position: Check Details, Qualification: Check Details

Jharkhand Public Service Commission (JPSC) Recruitment 2016

Posted: 17 Jul 2016 07:00 AM PDT

Location: India, Position: Check Details, Qualification: Check Details