Amdocs
40+ National English Medium School & Jr. College Interview Questions and Answers
Q1. if 4 represent as $** and 3 represent as *$$ based on it there were 4 questions....like i) what is the value of $$$** + $**$* in similar way rest of 3 questions
Q2. If we are terminated at the middle of the program execution in UNIX,what will happen to the program,it will (i) continue running (ii) terminate (iii)the o/p will be send to ur mail?
Q3. The syntax of command statement in UNIX 10. If the permission for a file is 000,then the file can be accessed by whom?
If the permission for a file is 000 in UNIX, then the file cannot be accessed by anyone.
File with permission 000 is not accessible to anyone, including the owner, group, and others.
The file cannot be read, written, or executed with permission 000.
To change the permissions and make the file accessible, the owner or superuser needs to modify the permissions using the chmod command.
Q4. switch(n) case 1: printf("case 1"); case (2) : printf("default"); break; what will be output?? ans: it will be error since case(2) is not allowed
The code will result in an error because 'case(2)' is not a valid syntax in a switch statement.
Correct syntax for switch statement is 'case 1:' not 'case(1)'
Each case should be followed by a colon (:) not parentheses
The 'break' statement is missing after 'printf("default");'
Q5. How will u print TATA alone from TATA POWER using string copy and concate commands in C?
To print TATA alone from TATA POWER using string copy and concatenate commands in C, we can use string copy to copy the first four characters and then concatenate a null character at the end.
Use strncpy to copy the first four characters of the string TATA POWER into a new string.
Add a null character at the end of the new string to terminate it.
Print the new string containing only TATA.
Q6. In which message passing is fast .....options are (a)pipe (b) message passing (c) message queue (d) memory sharing ans : d
Memory sharing is fast in message passing.
Memory sharing allows for direct access to shared data without the need for message passing overhead.
Examples of memory sharing include shared memory systems in parallel computing.
Memory sharing can lead to potential issues such as race conditions and data inconsistency.
Q7. There are 3 males and 2 females,find the possible no of orders that can be made by making the arrangement as in between two males one women is allowed to sit?
Q8. Where we can run two same programs on a UNIX console at the same time?
Q9. If switch(n) case 1:printf("CASE !"); case(2):printf("default"); break; What will be printed?
Q10. All fat people are not dancers, food loving people are all fat .Find the contradictory statement?
Q11. There are A,B techers and C,D doctors.Find the possible no of combinations that should not be repeated more than once?
Q12. what is the command to fetch first 10 records in a file
Q13. main () { int x=5; x=x----1; printf ("%d", x); } Output?
The output of the code will be 4.
The expression x=x----1 is equivalent to x = x - (-1) = x + 1.
Therefore, x will be 5 + 1 = 6.
But since the post-decrement operator is used, the final value of x will be 6 - 1 = 5.
Q14. context switching takes place.... a) kernel to user mode b)user to user mode c)kernel to kernel mode d)one process to another process
Context switching takes place when the CPU switches from one process to another process.
Context switching involves saving the state of the current process and loading the state of the next process.
It can occur when a process voluntarily yields the CPU, or when a higher priority process preempts the current process.
Examples include multitasking operating systems where multiple processes share the CPU.
Context switching overhead can impact system performance.
Q15. what is the command to connecto to remote terminals
Q16. How will add additional conditions in SQL?
Q17. How will u divide two numbers in a MACRO?
Q18. What is the number of the masked code ee@?
Q19. which algorithm is used to generate a key
Q20. If A>B,AD,B
Q21. Can main function be used more than once in java
Q22. what is fork..... and: to create a new process
Q23. How many catch blocks can be put after try block
Q24. What should be the order of preference for that
Q25. What are the DDL, DCL, DQL, DML queries
Q26. float a=.7 if(a=.7) printf("this"); else printf("that");
Q27. Can you talk about embedded system and latest technology?
Q28. Which is the Shell of UNIX?
Q29. What do you know about Amdocs ?
Q30. what is output of cal j 2005
Q31. Difference between delete and drop?
Q32. do you know about electric car?
Q33. List 10 UNIX commands breathlessly
Q34. Why amdocs?
Q35. what is data dictionary
Q36. where is security key retain
Q37. Memory management in java
Memory management in Java involves automatic garbage collection, heap and stack memory allocation.
Java uses automatic garbage collection to manage memory by deallocating objects that are no longer in use.
Memory in Java is divided into two main areas - heap memory for objects and stack memory for method calls and local variables.
Java provides methods like System.gc() to suggest garbage collection, but it's ultimately up to the JVM to decide when to run it.
Q38. Use of finalize function
The finalize function is used in Java to perform cleanup operations before an object is garbage collected.
Finalize method is called by the garbage collector before reclaiming an object's memory.
It is not recommended to rely on finalize for resource cleanup as it is not guaranteed to be called.
Example: public void finalize() { // cleanup code }
Q39. Different type of joins
Different types of joins in SQL are inner join, left join, right join, and full outer join.
Inner join: Returns rows when there is a match in both tables
Left join: Returns all rows from the left table and the matched rows from the right table
Right join: Returns all rows from the right table and the matched rows from the left table
Full outer join: Returns rows when there is a match in either table
Q40. what is view
Q41. What is diamter proctocol
Q42. What is your branch?
Q43. Explain Gy Call flow
Top HR Questions asked in National English Medium School & Jr. College
Interview Process at National English Medium School & Jr. College
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month