Search:

Type: Posts; User: sk_seeker; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.09 seconds.

  1. Answers
    1
    Views
    3,368

    Re: System stack, Caller stck, Task Stack

    To understand this question, you need to understand the concepts of User mode and system/privileged mode of operation. In an operating system, there are (generally) two modes of operation: user mode...
  2. Answers
    2
    Views
    10,691

    Unix/Linux Re: Synchronous and asynchronous call

    You mention operating systems. So, I will assume synchronous and asynchronous system calls. Let us take a non-CS example.

    I want to buy some tablet and so I go to the medical store. I give the...
  3. Answers
    1
    Views
    3,206

    Re: Ram and Rom estimation

    The question is not clear to me. So, let me state my interpretation and try to answer that.

    RAM and ROM requirements come into the picture when dealing with an embedded system. This is where you...
  4. Thread: hashing

    by sk_seeker
    Answers
    1
    Views
    1,118

    Re: hashing

    Your question is not clearly posted. As I understand it, there is an array of 100, with each array element being a linked list. The hashing function takes a work, sums up the ascii values of the...
  5. Answers
    1
    Views
    1,461

    Re: on-line C++ tests

    Try Brainbench. It may be a paid service though.
  6. Thread: Pointer---?

    by sk_seeker
    Answers
    6
    Views
    1,842

    Re: Pointer---?

    A pointer size is always fixed: either as the word size on the machine OR by the compiler. So, why not use an int * to access all data types?? Interesting question actually. Let me give some reasons....
  7. Answers
    2
    Views
    1,510

    Re: Can u plz gimmi dis answer

    The factors we can compare two pointers on are:
    + size of pointers
    + pointer arithmetic
    + performance

    Let us assume that the size of an int is 4 bytes and float is 8 bytes.

    Size of a...
  8. Answers
    3
    Views
    10,997

    Re: Diff b/w Eager loading and Lazy Loading

    Loading can mean many things in computer science. Are you refering to linkers/loaders OR something else?? A better phrased question, with some context, may get you an answer.
  9. Answers
    18
    Views
    2,920

    Re: Pointers (PPLLLZZZ HELP)

    This is not right. Please read my post to understand the issues.
  10. Thread: union

    by sk_seeker
    Answers
    3
    Views
    1,553

    Re: union

    You are right.

    A practical example is listed below.

    Let us say that there are two types of blocks.
    blk_type == A; dependent data is an integer
    blk_type == B; dependent data is a char array...
  11. Answers
    18
    Views
    2,920

    Re: Pointers (PPLLLZZZ HELP)

    I am not sure what the ISO standard says about this. But, this is what I know.

    1. Depends on the bitness of the program of reference
    On a 64bit architecture with a 64bit OS, we can have both...
  12. Thread: #if

    by sk_seeker
    Answers
    3
    Views
    1,426

    Re: #if

    Question is a bit vague: so treat the answer with a grain of salt.

    It depends on the expression in #ifdef EXPR.

    For example, if it is #ifdef __KERNEL, then standard user mode functions will...
  13. Answers
    3
    Views
    6,749

    Re: c interview questions

    If you have programmed in C, you should know most of the questions and answers. Some of the general debugging areas to test a candidate are:
    + What is a memory leak?? How do you debug it??
    + How do...
  14. Answers
    2
    Views
    1,950

    Re: Whyyyyyyyyyyyyyyy

    The answers to the latest questions you had asked can be easily obtained from any book or the internet. The impression it gives out is that you are not putting in an effort first. So, maybe next time...
  15. Answers
    2
    Views
    1,251

    Re: tree from an expreession

    Read about the evaluation of Polish Expressions.
  16. Answers
    5
    Views
    15,050

    Re: Cache Hit Ratio

    Not quite. Lets take the same example that you initially quoted: 984506475.

    Assuming an infinite size TLB, how many tlb hits will we have?? Since an infinite TLB size implies that we never have...
  17. Answers
    5
    Views
    15,050

    Re: Cache Hit Ratio

    You haven't the foggiest idea huh?? Lets try and dispel the fog bit by bit.

    What is a cache??
    A mechanism where we maintain a copy of the data in a faster area as compared to the real data that...
  18. Answers
    3
    Views
    1,898

    Unix/Linux Re: linux and unix

    There are many ways this question can be answered depending on how much back in time you want to go. So, I guess a better way to ask the question might be: what are the recent improvements in UNIX...
  19. Answers
    2
    Views
    2,638

    Unix/Linux Re: ?Unix/Linux Learning

    you have to be more clearer on what you want to learn about. Unix/linux is a very general and wide classification. Let us classify it a bit further. I will quote book examples to give you a feel for...
  20. Unix/Linux Re: what is the differents between soft and hard link of unix??????

    symbolic/soft links file systems usually provide a means for grouping files together i.e. All the files in a single group have something common among them. For example, in unix world, files can...
  21. Answers
    1
    Views
    1,735

    Re: process or thread?

    Processes and threads can be compared with three major design points: protection, parallelism and sharing.

    A process abstraction provides implicit protection against other processes, but makes...
  22. Answers
    4
    Views
    4,193

    Re: Learn Pointers in C

    Let me give you a simple method to start becoming good in using pointers.

    Make it a habit of never using global variables. Always pass arguments by reference (by pointer) and see how fast you...
  23. Answers
    5
    Views
    8,464

    Unix/Linux Re: inode number !!!

    This is wrong. Read my earlier post to get an idea or read a Unix Internals book like the one authored by Uresh Vahalia or some other book like that. Specifically, concentrate on the concept of inode...
  24. Answers
    3
    Views
    1,530

    Re: String to int conversion...

    This is a buggy program. Here is why:

    1.
    no = malloc(sizeof(char*)); // 4 bytes of characters

    Memory space of 4 bytes (32 bit machine) is being allocated by malloc.
    Let us say that the...
  25. Thread: Code Output

    by sk_seeker
    Answers
    2
    Views
    1,391

    Re: Code Output

    The expression inside the while loop is: *b++ = *a++.
    Let us simplify this expression into two steps:

    - *b = *a
    - b++; a++

    Since b and a are pointing to strings as per your email,
    - *b = *a...
Results 1 to 25 of 45
Page 1 of 2 1 2
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact