In a system implementing paged segmentation, the size of logical address is 42-bit where aprocess can have maximum 128 segments and the page size is 512-bytes. Page table entry size is 4-Byte. Physical address space of the system is 128KB. Compute : i.Maximum number of pages per process ii.Size of page table per segment iii.How many levels of paging will be implemented in this system? iv.What would be format of logical address? v.What would be format of physical address?

Member Avatar
Member Avatar
+0 forum 1

guys please tell me with your expertise that which operating system(windows or ubuntu) gives a better interface for creating and executing child programs..#

Member Avatar
Member Avatar
+0 forum 3

For those interested in operating system development, this snippet tests status of A20. It is the line that allows memory beyond 1 meg to be addressed, otherwise it will just wrap around which some applications and versions of DOS depend on. My bootloader **MBR1_44** has switched system to protected (*32 bit*) mode at this point. Written for FASM 1.71.17

Member Avatar
+0 forum 0

I am currently troubleshooting a utility that I have been working on. The main file of the utility is below. Please not that `flatten_dict` and `makerows` are seperate files and functions, respectively. My objectives are to: * Recursively traverse a directory - done * Find XML and text files only - any thoughts on how to build this into the function below would be very helpful * Print these files out to the console - done * Apply `flatten_dict` to take each of the txt or XML files and 1) parse it into a string of key value pairs (done) …

Member Avatar
Member Avatar
+0 forum 21

Hi Has anyone of you having a problem opening firefox , google chrome and thunderbird since yesterday? coz almost all of our unit that is running in ubuntu and Zorin OS are experiencing the same bugs.. i already tried updating and upgrading the OS but still having the error and i also tried re installing the applications but im not getting any progress..

Member Avatar
Member Avatar
+0 forum 2

[URL="http://www.pcadvisor.co.uk/poll/index.cfm?action=showresults&pid=3228421"]A new poll into Operating System popularity by a British computer magazine[/URL] has revealed that an incredible 37 percent of respondents are still using Windows XP. That's more than Windows 7 which managed to woo 30 percent of the folk taking part, and Vista could only garner a pretty poor 16 percent of support. This being a PC magazine it should come as no great surprise to see Linux being used by 8 percent of respondents and Mac OS by 7 percent. However, what was surprising was the sheer number of people who refuse to let Windows XP die. [attach]15712[/attach]Was …

Member Avatar
Member Avatar
+6 forum 760

Hi. With `$u_agent = $_SERVER['HTTP_USER_AGENT'];` i can get the users information but i just want to echo the OS that users use, something like: Linux,Ubuntu How can i get this out from the $u_agent variable?

Member Avatar
Member Avatar
+0 forum 11

hi guys i've written an bare OS and now im trying to go a little furthur and create a very simple GUI for it . but i have no idea how to create such a thing . my os is running in text_mode though i can change to some other mode but it will couse some problems as i've written nearly all the nessecary libraries of c myself (couse i didn't have them for direct developing ) and by doing this it will be no longer possible to write characters on the screen . i got to write a VGA …

Member Avatar
Member Avatar
+0 forum 5

Hi friends. With `datetime.datetime.now()` or `datetime.datetime.today()` i can get the current date (English calendar) for my program but what about if i want to get the current date (from Persian calendar) for my program; then what should i do? As my pc os date is set to English calendar so what can i do?

Member Avatar
Member Avatar
+0 forum 2

A simple way to find out a Python module's location on your drive.

Member Avatar
Member Avatar
+3 forum 4

Hello. I'm using Linux OS, Python 2 and the last version of Kivy framework. Here i have 2 files that i have typed them exactly as what i watched on a kivy tutorial video. Fist file is "main.py": from kivy.app import App from kivy.uix.scatter import Scatter from kivy.uix.label import Label from kivy.uix.floatlayout import FloatLayout from kivy.uix.textinput import TextInput from kivy.uix.boxlayout import BoxLayout class ScatterTextWidget(BoxLayout): pass class TutorialApp(App): def build(self): return ScatterTextWidget() if __name__ == "__main__": TutorialApp().run() And the second one is "Tutorial.kv": <ScatterTextWidget>: orientation: "vertical" TextInput: id: my_textinput font_size: 120 size_hint_y: None; height: 200 text: "Hello World!" FloatLayout: Scatter: Label: …

Member Avatar
Member Avatar
+0 forum 3

Hey guys, so I'm creating this webapp that creates a QrCode based on informations given by the user, decodes QrCodes and creates a log. I would like some tips, like QrCodes, Image processing, Getting SubImages libraries and API's. I'm using HTML5, CSS3 and JavaScript. This webapp will be able to Android, Firefox OS, Tizen OS, Windows Phone and iOS devices. Thanks bros

Member Avatar
Member Avatar
+0 forum 1

I know there are benchmarking programs that exist, but I've decided that as an exercise, I want to try and create some sort of simple benchmark program to test schedulers of my Raspberry Pi (CFQ, noop, deadline). I have been switching the schedulers and testing some linux commands using time and notice several differences. My question is: if I want to create a c program that's able to run and test the result of using a specific scheduler, how should I tackle this? I guess a simple outline of an idea I have is: program creates multiple threads with different …

Member Avatar
Member Avatar
+0 forum 1

Hi, I have migrated OS from XP to win8.1. Earlier in my VB application, I was sending email thourgh my outlook object. set outapp = createObject("Outlook.application") but now I am getting error "ActiveX Compponent Can't create Object." as i have migrated my OS. is there any other change in code? solution will be appreciated. Thanks, KK

Member Avatar
Member Avatar
+0 forum 2

What do you mean by a critical section? A critical section is a piece of code of a process that accesses a shared resource that must not be accessed by more than 1 thread of execn. 1.a thread is smallest seq of programmed instrns and process is made of many threads.plz xplain in a bit detail.... 2.Does a process have only 1 critical section? 3.Can 2 or more processes be in their critical section at the same time?If no why? bcoz whats the prob if the critical sections are accessing diff shared resources? 4.Also tell me what is a semaphore...i …

Member Avatar
Member Avatar
+0 forum 2

i have two hard drive both have windows 7...is it possible to put it in 1 computer?please help

Member Avatar
Member Avatar
+0 forum 7

CESG, the UK government's arm that assesses operating systems and software security, has published its findings for ‘End User Device’ operating systems. The most secure of the lot? Ubuntu 12.04. For the full article see [here](http://www.zdnet.com/uks-security-branch-says-ubuntu-most-secure-end-user-os-7000025312/)

Member Avatar
Member Avatar
+0 forum 1

Hey all, I have the following code that is working fine; basically it finds all files on my desktop and then prints the specific ones that I am looking of. I save all files to my desktop and the files contain the clients name so I figure once a week I can clean my desktop by sending the files off to where they live in the correct directories. Here is what I have so far... import glob import os os.chdir("d:\Desktop") for files in glob.glob("*.*"): x = str(files).lower() if 'client_name' in x: print x The next bit is to gt the …

Member Avatar
Member Avatar
+0 forum 3

Microsoft knows it has to do something in order to claw back some kind of market position, not now but five years into the future. The culture of computing is changing amongst the young and hip consumer, and it's moving away from the Microsoft Windows-centric vision of the past. While Microsoft remains buoyant within the enterprise, powering business globally with plenty of success, the Seattle tech giant would do well to realise that even this core part of the corporate plan is not immune to the generation now effect. What consumers want today can, indeed almost certainly does, influence how …

Member Avatar
Member Avatar
+8 forum 112

Is there any way to start an application with python and count how much time does it take to completely load, any idea if I can do it with os.syste, or subprocess.Popen ?

Member Avatar
Member Avatar
+0 forum 5

Hello, I've got a question about a project in my operating systems class. The task was to create a program that lets the user choose a variety of cpu scheduling algorithms and simulates them with random data or data from a file. I've already done it for first come first serve, shortest job first, and priority. I've got the round robin code to work I think I just have no idea how to calculate the average wait time (AWT) or average turn around time(ATT). Here is my code for FCFS algorithm: void FCFS(job jobList[iterationsToRunTest][numJobs], results &output) { queue <job> q; …

Member Avatar
+0 forum 0

I am trying to load the help on each method into a QTextEdit in PyQt4 how can I have this variable hold help on a method, example: `data = os.system('python -c "import sys; help(sys.path)"')` but data value contains `0`

Member Avatar
Member Avatar
+0 forum 3

Hi All, THis is just a basic question about Wine. How many use it on Linux and how many are happy with it? I've seen mixed reviews about Wine on the internets so I thought I would ask the only tech community that matters. I just installed it because I was going to try and install (and run) Photoshop Elements on my laptop and I need Wine to do that. I also have a program called Fruity Loops that is a Windows based program that I'm hoping will run after Wine is installed but I don't know if it will …

Member Avatar
Member Avatar
+0 forum 9

Anyone creating an OS with Python (Tkinter)?

Member Avatar
Member Avatar
+0 forum 10

**NOTE** This code won't work at the application level. It directly addresses memory at 0xB8000 which will result in a segfault at the application level. This code must be part of an OS or an application in a not-so-secure operating system like DOS, where applications can directly address any part of memory. This is some simple code which facilitates the printing of strings, without needing to use an interrupt like `int 0x10`. This gives you the foundations so that you can better customise aspects of how printing is done, so that you can, say, make special control characters or speed …

Member Avatar
Member Avatar
+0 forum 2

Yesterday while browsing the web, I stumbled upon a blog where the author had written a post regarding what a computer scientist should know, in that list he had given links for further reading. One of these links was to a website [nand2tetris](http://nand2tetris.org/) where the goal is supposedly to build a modern computer from first principles! This seems very interesting to me, and I would like to ask whether anyone here has tried, or would recommend this project. In a video he says it could be completed in 12 weeks, is this an accurate estimate? If so I would perhaps …

Member Avatar
Member Avatar
+0 forum 2

After windows xp microsof launched windows vista and it got failure. Then win 7 got succeed and between some controversals they launcehed win 8. So i would like to know abot win 8 feed back.

Member Avatar
Member Avatar
+0 forum 11

Come on then guys, one of the gratest wars of technology and IT - whats the best operating system and why?

Member Avatar
Member Avatar
+0 forum 49

If you thought, or indeed hoped, that the Google Chrome OS would be a thoroughly modern marvel running web apps only then you are about to be disappointed. It would appear that even the brave new future of the OS cannot escape from the legacy of Windows. According to a Google software engineer, one Gary Kacmarcík, Chrome will support legacy Windows applications. In a Google Groups [URL="http://groups.google.com/a/chromium.org/group/chromium-discuss/search?group=chromium-discuss&q=Gary+Ka%C4%8Dmar%C4%8D%C3%ADk&qt_g=Search+this+group"]posting[/URL] Kacmarcík writes that the "Chrome OS will not only be great platform for running modern web apps, but will also enable you to access legacy PC applications right within the browser" through the …

Member Avatar
Member Avatar
+0 forum 3

which one is better?

Member Avatar
Member Avatar
+0 forum 30

The End.