3 ראיונות. ראיון ראשון מקצועי. שני שיחה מקצועית. שלישית טכנית או עם מנהל
שאלות מתוך הראיון
Implement a generic SW FIFO module, that can be used by two CPUs over shared memory.
assume that one CPU will always push elements to the FIFO, and the other one will
always pop elements from the FIFO (Single Producer, Single Consumer).
assume also that both CPUs run in parallel, and can access the FIFO at the same time.
the SW FIFO should have 3 global API functions, which you need to define and implement:
void * SW_FIFO_Init(char * p_shared_mem_start, UINT32 shared_mem_size_bytes, UINT32 entry_size_bytes);
STATUS SW_FIFO_Push(void * p_instance, const char *p_elem);
STATUS SW_FIFO_Pop(void * p_instance, char *p_elem);
typedef struct
{
UINT32 canary_val;
char * p_fifo_mem_start;
UINT32 entry_size_bytes;
UINT32 max_num_entries;
UINT32 push_idx;
UINT32 pop_idx;
}SW_FIFO_Ctrl_t;
שאלות כלליות על הניסיון שלי על מה עבדתי ואית היה המישמוש ולספר על בעיות שנתקלתי בהם ודרך פתרון.
שאלות מתוך הראיון
נתונות 2 רשימות מקושרות למצוא את נקודת המפשג שלהם אם יש ואם אין להחזיר NULL
ראיון שני איזה אלה מתחום הסקיוריטי ועוד שאלה לתכנן משחק קלפים מלחמה (בלי לכתוב קוד רק תכנון של האובייקטים ופונקציות....
מחפשים את מקום הביט הדולק הכי גבוה במספר. אפשר לייעל את החיפוש כמעיין חיפוש בינארי אם מחפשים בכל חצי המספר העליון אם קיים 1 ואז ככה עד שמוצאים את הביט הגבוה