logo

CuriousTab

CuriousTab

Discussion


Home Technical Questions Operating Systems Comments

  • Question
  • Explain soundex() and metaphone() ?


  • Correct Answer
  • soundex() The soundex() function calculates the soundex key of a string A soundex key is a four character long alphanumeric string that represent English pronunciation of a word he soundex() function can be used for spelling applications < ?php $str = "hello"; echo soundex($str); ? > metaphone() The metaphone() function calculates the metaphone key of a string A metaphone key represents how a string sounds if said by an English speaking person The metaphone() function can be used for spelling applications < ?php echo metaphone("world"); ? > 

  • Tags: IT Trainer, Project Manager

    Operating Systems problems


    Search Results


    • 1. What type of operating system uses the NTFS file system ?

    • Options
    • A. Windows
    • B. Mac OS X
    • C. Unix
    • D. All of these
    • Discuss
    • 2. Which of the following is Not an Operating System?

    • Options
    • A. UNIX
    • B. Windows NT
    • C. C++
    • D. DOS
    • Discuss
    • 3. The list of coded instructions is called

    • Options
    • A. Algorithm
    • B. Flowchart
    • C. Utility programs
    • D. Computer program
    • Discuss
    • 4. Default read write and execute permissions given to a file for owner, group and others are

    • Options
    • A. 6-4-4
    • B. 6-4-2
    • C. 6-4-6
    • D. 6-6-6
    • Discuss
    • 5. A UNIX user named Bob wants to replace his chess program with a new one, but he is not sure where the old one is installed. Bob is currently able to run a Java chess program starting from his home directory /home/bob using the command: java -classpath /test:/home/bob/downloads/*.jar games.Chess Bob's CLASSPATH is set (at login time) to: /usr/lib:/home/bob/classes:/opt/java/lib:/opt/java/lib/*.jar What is a possible location for the Chess.class file?

    • Options
    • A. /test/Chess.class
    • B. /home/bob/Chess.class
    • C. /test/games/Chess.class
    • D. /user/lib/games/Chess.class
    • Discuss
    • 6. High level language is also called as ?

    • Options
    • A. Business oriented language
    • B. Mathematically oriented language
    • C. Problem oriented language
    • D. All of above
    • Discuss
    • 7. When is a system in safe state?
    • Discuss
    • 8. What are local and global page replacements?
    • Discuss
    • 9. What are demand-paging and pre-paging?
    • Discuss
    • 10. What is the perfect page size when designing an operating system ?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment